Update: I just realized that I can install it if I download it and then bring it in via Apps > Upload a custom app, so it's only installing it from within App Studio that gives the error.
I'm trying to work through the sample app at https://docs.microsoft.com/en-us/microsoftteams/platform/get-started/get-started-dotnet-app-studio, but I'm stuck at the part where you install it into Teams.
I get the error: "Uploading custom apps is not allowed."
According to Prepare your Office 365 tenant, in the admin center, under Settings > Services & add-ins > Microsoft Teams > Tenant-wide settings > Apps, I should turn on "Allow sideloading of external apps." In my tenant, that is indeed turned off:
But I can't turn it on. It's disabled, saying the settings have moved to the "Microsoft Teams & Skype for Business admin center."
In that admin center, I went to Teams apps > Permission policies. There, for "Global (Org-wide default), I have "allow all apps" for everything: .
For "Org-wide app settings", I have interaction with custom apps turned on: .
Under Setup policies > Global (Org-wide default), I have "Allow uploading custom apps" on: .
And I'm signed in as a user governed by that policy:
I'm stumped. What else do I need to do so that I can sideload a Teams app for development?
In the left navigation of the Microsoft Teams admin center, go to Teams apps > Manage apps, and then select Org-wide app settings. Under Custom apps, turn on Allow interaction with custom apps, and then select Save.
A user can manage device permissions in Teams settings by selecting Allow or Deny permissions to specific apps. Open Teams. Go to Settings > App Permissions. Select the app for which you need to choose the settings.
I had the same problem and it actually made me crazy especially because it may take a few hours to apply changes. Finally I was able to resolve the problem in the following way. I can imagine that certain steps are unnecessary but who knows.
Now, finally, it works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With