I have created a web API in the azure portal. I have also exposed a scope for this web api something like this api://client-id-of-the-web-api/user.read
Now i want to register an app which is going to be a deamon app client. I have registered it and generated a client-id and a secret
Now i go the API permissions and add the web API but no matter what i do the admin consent is always required.
When i exposed the scope for the web api i have used to toggle button and selected that admins and users can consent.