Microsoft Teams
A Microsoft customizable chat-based workspace.
10,190 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Getting this error while trying to uninstall a teams bot using Graph API.
https://graph.microsoft.com/v1.0/users/{{user-id}}/teamwork/installedApps/{{app_installation_id}}
"Trying to RemoveUserAppEntitlement for an App that is explicitly preinstalled by the tenant admin."
This API was working till I added my app to Installed Apps in Setup Policies.
Is there a way to delete such admin installed apps via Graph API
As the error message suggests, you will have to remove the app from the setup policy first, which unfortunately is not currently doable via the Graph API.