To limit the use of Outlook Add-ins in Microsoft Entra ID (formerly Azure AD) or Microsoft 365, administrators can use a combination of Entra ID policies, Exchange Online PowerShell, and Microsoft 365 admin controls. Here’s how:
1. Restrict Add-ins via Microsoft 365 Admin Center (Easiest Method)
- Go to the Microsoft 365 Admin Center.
- Navigate to Settings > Integrated apps.
- Under Add-ins, you can manage which add-ins are available to users.
- You can block specific add-ins or restrict users from installing add-ins from the Office Store.
2. Use Exchange Online PowerShell to Control Add-ins
Run the following commands in Exchange Online PowerShell to manage Outlook Add-ins:
a. View all installed Add-ins
Get-App -OrganizationApp
b. Disable an Add-in for all users
Disable-App -Identity <AppID> -OrganizationApp
c. Block users from installing Add-ins
Set-OrganizationConfig -DefaultAccessPolicy <RestrictedAccessPolicy>
d. Restrict Add-ins to only approved ones
Set-OrganizationConfig -AppSettings @{AllowUserAddins=$false}
3. Use Microsoft Entra ID (Azure AD) App Consent Policies
To prevent users from granting permissions to unauthorized add-ins:
- Go to Microsoft Entra ID > Enterprise Applications > Consent and permissions.
- Under User consent settings, set "Do not allow user consent" or restrict consent to admin-approved apps only.
- Configure Permission classifications to control which permissions add-ins can request.
4. Use Conditional Access Policies (Optional)
- Create a Conditional Access policy in Microsoft Entra ID to block access to unauthorized add-ins.
- Target specific users or groups and restrict access to Office 365 Exchange Online with app restrictions.
5. Use Microsoft Defender for Office 365 (Advanced Security)
- Configure Safe Attachments & Safe Links policies to block malicious add-ins.
- Use Threat Intelligence to detect and block risky add-ins.
Summary of Key Controls
| Method | Purpose |
|---|
| M365 Admin Center | Block/allow specific add-ins |
| Exchange Online PowerShell | Disable or restrict add-ins globally |
| Entra ID App Consent Policies | Prevent unauthorized app permissions |
| Conditional Access | Restrict add-in access based on conditions |
| Defender for Office 365 | Block malicious add-ins |
By combining these methods, administrators can effectively control and restrict Outlook Add-ins in Microsoft Entra ID (Azure AD) and Microsoft 365.
Would you like detailed steps for any specific method?