question

MohanKrishnaPechetti-1528 avatar image
0 Votes"
MohanKrishnaPechetti-1528 asked Deva-MSFT edited

GraphError: Operation: Create; Exception raised while creating createSubscirption


GraphError: Operation: Create; Exception: [Status Code: Forbidden; Reason: The request is not authorized for this user or
application.]

office-teams-app-devmicrosoft-graph-teamworkmicrosoft-graph-applications
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MohanKrishnaPechetti-1528 There might be an issue with Access Token. Actually i was calling API on behalf of App i.e token with grant_type as client_credentials. Rather i should have called API on behalf of User i.e token with grant_type as password as it is clearly mentioned in documentation that permissions are delegated. I didn't use any encryptionCertificate still subscription was successful.

0 Votes 0 ·

0 Answers