Warm tip: This article is reproduced from serverfault.com, please click

.Net Microsoft team Meeting API generating access denied token

发布于 2020-12-02 20:18:04

I have tried to create a Microsoft team API to create an online meeting. I have created an app register in azure with clientId and tenantId. I added permission with the delegate, and in other times in public as a trial as I know delegate is the correct and then create secret, and I tested it in Microsoft explorer it works perfectly now I tried to work with it in c# code I got token. However, I noticed that the token is different from Microsoft explorer, so I got an error in creating event access denied as the token does not have permission. The second question can I generate a unique link for the meeting for each attendance.

The error I'm receiving is

{
    "error": {
        "code": "Authorization_RequestDenied",
        "message": "Insufficient privileges to complete the operation.",
        "innerError": {
            "date": "2020-12-03T13:05:33",
            "request-id": "cc2dbedc-610e-4d95-a30d-672ff241efa4",
            "client-request-id": "cc2dbedc-610e-4d95-a30d-672ff241efa4"
        }
    }
}
Questioner
alJaserm
Viewed
0
2,267 2020-12-04 22:45:53

This is happening because Security Defaults is enabled for your tenant.