I'm able to generate an OAUTH bearer token against https://login.microsoft.com/<tenant_id>/oauth2/v2.0/token with the following params:
client_id, tenant, grant_type : password, client_secret, scope: api://<guid>/Employees.Read, username and password.
However, if I change the grant_type to client_credentials and exclude username and password, I am able to generate the token only when the scope is api://<guid>/.default. If I pass a specific scope as in the previous case, I get invalid_scope error.
Why is this so?


