Get TeamsApp API not working with AppCatalog.Read.All permission

Copper Contributor


Microsoft documentation says that with AppCatalog.Read.All application permission we can query the appcatalog with a GET request.

But it's throwing 403 (access denied) when tried from today morning onwards (1-June-2022).
Can someone please let us know why there is a change in permission that happened to the API in production without Backward compatibility and this hitting the business real hard!

We have tried adding AppCatalog.ReadWrite.All permission and it works. But changing the permission in production is not easy and not recommended when it comes to 'write' permission.

Why do we need to write permission for a GET call?

11 Replies

@TonyStark645 - Could you please provide more details what exactly issue you are facing? Are you not able to run the query GET /appCatalogs/teamsApps using Application permission AppCatalog.Read.All 

@TonyStark645 - Could you please refer this thread and check if it helps in any way?
Access denied for appCatalogs/teamsApps - Microsoft Q&A

@Prasad_Das-MSFT https://docs.microsoft.com/en-us/graph/api/appcatalogs-list-teamsapps?view=graph-rest-1.0&tabs=http#...
In the above documentation it clearly shows that application permission is supported. And more over it was working till yesterday.

@TonyStark645 - Yes, we are also able to repro the issue. When trying to query this https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$filter=externalId eq 'xxxx2524-b13c-4xxx-xx0f-584702fxxxx' using Application permission AppCatalog.Read.All , its giving 403 Forbidden status.

Prasad_DasMSFT_0-1654164690693.png


We have raised a bug for this issue. We will inform you once we get any update from engineering team. 

Thanks, 

Prasad Das

--------------------------------------------------------------------------------------------

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 

 

Thanks @Prasad_Das-MSFT for acknowledging the issue.
Please keep me posted on the update, looking forward for a faster resolution.
Microsoft Verified Best Answer
@Prasad_Das-MSFT
The issue seems to be solved, did Microsoft deploy any fix over the weekend?

@TonyStark645 - There might be some changes/fixes happened at MS side which we are not aware of. Glad that the issue is resolved.

@TonyStark645 - Is this the same issue you are facing?
If yes, then please follow that thread for further updates. We will repro this issue and respond there.

 

 

Thanks, 

Prasad Das

------------------------------------------------------------------------------------------ 

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.