Why does AcquireToken with ClientCredential fail with invalid_client (ACS50012)?

前端 未结 4 1294
情书的邮戳
情书的邮戳 2021-02-14 20:33

Why won\'t my Azure AD application allow an oauth client_credentials grant?

I want to use the Azure Graph API, but first I need an oauth token. To get the token, I am tr

4条回答
  •  别跟我提以往
    2021-02-14 21:14

    I was having the same issue but only running the code directly from Azure (inside an Azure Website).

    I solved upgrading 'Microsoft.IdentityModel.Clients.ActiveDirectory' package to '2.6.1-alpha'

提交回复
热议问题