Microsoft Graph Api returns forbidden response when trying to use /me/memberOf in ASP.NET Core MVC

前端 未结 4 1159
旧巷少年郎
旧巷少年郎 2021-01-07 10:18

Here is what I have. (ApiVersion is v1.0)

private async Task GetUsersRoles(string accessToken, ClaimsIdentity identity, string userId)
         


        
4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-07 10:48

    I had a similar issue and it was just that my token had expired or became invalid.

提交回复
热议问题