Var accessToken = authContext.AcquireTokenAsync(graphResourceId, new ClientCredential(clientId, secret)).Result I have tried many combinations for authority URL string graphResourceId = "" Īuthority = String.Format(authority, tenantId) ĪuthenticationContext authContext = new AuthenticationContext(authority) string authority = "/oauth2/token?scope=" When I trying to get access token and check in jwt.io I found scp (Scope) is missing. I have created a multi-tenant application in Azure AD
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |