Forum Discussion
Not Getting Data from Graph rest api for MS Team
Hi Mamatha-MSFT,
I'm getting teams if i do oauth using organization admin but still i'm unable to get the team channels or single team info check ss below for details.
using https://graph.microsoft.com/v1.0/teams/{team_id}
Can you please confirm what is the issue?
Thanks.
Hi hidayat3676 To Get team, are you using application level permissions or delegated level permissions? If your using application level permissions, the permissions marked with * use resource-specific consent. The resource specific consent permissions need to be added in manifest.
Please go through the documentation.
https://docs.microsoft.com/en-us/graph/api/team-get?view=graph-rest-1.0&tabs=http
- hidayat3676May 03, 2021Copper ContributorMamatha-MSFT Thanks.
- Mamatha-MSFTMay 03, 2021Former Employeehidayat3676 They review access requests every Wednesday and deploy approvals every Friday.
- hidayat3676May 03, 2021Copper Contributor
Mamatha-MSFT
Done With the form, Can you tell till when it is expected for my app to be given access to the protected Api's ? - Mamatha-MSFTMay 03, 2021Former Employee
hidayat3676 Yes. If you are using protected API you need to request access. Please fill the form to request access.
- hidayat3676May 03, 2021Copper Contributor
Hi Mamatha-MSFT,
But i also need the other end points mentioned in the protected api list should i fill form for it or it will also be resolved using the manifest ? - Mamatha-MSFTApr 30, 2021Former Employee
Hi hidayat3676 Yes you need create the whole manifest manually and then upload it. Please follow the steps provided in this documentation.
Get https://graph.microsoft.com/v1.0/teams/{team_id} is not under protected API. There is no need to fill the request form. - hidayat3676Apr 30, 2021Copper Contributor
Mamatha-MSFTThis is different to my already auto generated manifest.
Should i create the whole manifest manually and then upload it ?Also while Searching the error i found this
https://docs.microsoft.com/en-us/graph/teams-protected-apis
should i fill the form or ignore ?
- Mamatha-MSFTApr 30, 2021Former Employee
Hi hidayat3676, Please go through this RSC sample.
- hidayat3676Apr 30, 2021Copper Contributor
- hidayat3676Apr 29, 2021Copper Contributor
Should i manually add these RSC to manifest or it is added auto when i add permission from the permission list ?Also by * you mean {resourse}.{permission}.All ?