Verify App Permission Policies: App permission policies control which apps users can install.
- Go to the Teams Admin Center:
- Navigate to Teams apps > Permission policies.
- Create a Custom Permission Policy:
- Click Add to create a new permission policy.
- Name the policy (e.g., "Restricted Custom Apps").
- Under Custom apps, set the following:
- Allow interaction with custom apps: On (to allow users to see the app).
- Allow uploading custom apps: Off (to prevent users from uploading apps directly).
- Allow specific apps and block all others: Add the custom app to the allowed list.
- Assign the Policy to Test Users:
- Go to Users in the Teams Admin Center.
- Select the test user and assign the newly created permission policy.
Verify App Setup Policies: App setup policies control how apps are displayed and pinned for users.
- Go to the Teams Admin Center:
- Navigate to Teams apps > Setup policies.
- Create a Custom Setup Policy:
- Click Add to create a new setup policy.
- Name the policy (e.g., "Restricted Setup Policy").
- Under Installed apps, ensure the custom app is not added.
- Save the policy.
- Assign the Policy to Test Users:
- Go to Users in the Teams Admin Center.
- Select the test user and assign the newly created setup policy.
Set App Availability to "Available to No One": You’ve already done this step, but ensure it is configured correctly:
- Go to Teams apps > Manage apps in the Teams Admin Center.
- Search for your custom app.
- Set the app's availability to Available to no one.
It can take up to 24 hours for policy changes to propagate. You can expedite this by signing out and back into Teams or clearing the Teams cache.