question

hullah-1381 avatar image
0 Votes"
hullah-1381 asked Deva-MSFT edited

Getting Unknoen error while requseting Ms Graph Teams/* apis

Hi,

I've registered an App it AAD And have set Api permission and have applied Admin Consent I'm using Oauth Code flow to get an access token, when i get the token I can call certian APi like /users/ and me/joinedTeams but I get error response on /teams/{teamID} and /teams/{teamID}/ api's
Following response I'm getting

{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"date": "2021-05-05T10:51:02",
"request-id": "995104c9-06bd-4675-8775-6878185fc544",
"client-request-id": "995104c9-06bd-4675-8775-6878185fc544"
}
}
}
status : 403 forbidden

My permission list:

 ![93962-permission-1.png][1]

93963-permission-2.png


[1]: /answers/storage/attachments/93962-permission-1.png

office-teams-app-devmicrosoft-graph-teamwork
permission-1.png (122.4 KiB)
permission-2.png (124.5 KiB)
· 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.

@hullah-1381

Our forum is mainly focused on the general issue of Microsoft Teams troubleshooting. According to your description, your issue is not in our support scope. I will remove teams tag and add teams-app-dev tag. Hope you get better response!

0 Votes 0 ·

1 Answer

NikithaMSFT-0176 avatar image
0 Votes"
NikithaMSFT-0176 answered

We are not able to repro the issue at our end. We have tried all channel life cycle Also please check this sample.

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.