IAMinerva
HomeBlogAbout
m3M365 NewscoMicrosoft CopilotteMicrosoft TeamsshSharePoint & OneDriveinIntune & SecurityexExchange & OutlookpoPower PlatformazAzure & Entra IDtuTutorials & GuidesevEvents & ConferencesseSecuritywiWindows
IAMinerva

Professional blog dedicated to the Microsoft 365 ecosystem.

Quick links

HomeBlogAboutNewsletter

Stay informed

Get the latest Microsoft 365 news delivered straight to your inbox.

© 2026 IAMinerva. All rights reserved.

Built withNext.js&Tailwind
Restreindre l'accès des applications Entra multi-locataires
BlogM365 NewsRestrict Access to Multi-Tenant Entra Applications
M365 News#Microsoft Entra#Multi-Tenant#Cloud Security

Restrict Access to Multi-Tenant Entra Applications

Improve the security of your multi-tenant Entra applications by restricting access to specific tenants using a new native feature.

Houssem MAKHLOUF
March 13, 2026
3 min read

TL;DR par Minerva

généré par IA

Improve the security of your multi-tenant Entra applications by restricting access to specific tenants using a new native feature.

Introduction

Microsoft Entra ID now offers a feature that allows you to explicitly restrict access of multi-tenant applications to specific tenants. This innovation addresses the need to improve governance and security in SaaS environments.

Historically, configuring an application in multi-tenant mode was unrestricted: any organization with the URL could consent to and access your application. This approach could expose critical services to unauthorized users. Now, the new "Allow only certain tenants" option (Preview) introduces a native solution for adopting a controlled multi-tenant model.

Allow only certain tenants preview

i

Good to know

This feature allows you to easily switch between an open global model and a restricted model based on a whitelist of authorized tenants.

Configuring Restrictions on Multi-Tenant Applications

If you are already using multi-tenant applications in your production services, here are the steps to follow to implement these restrictions:

1

Access Microsoft Entra ID

Sign in to the Microsoft Entra ID portal and access your application registration.

2

Navigate to the Authentication tab

In the application management options, select Authentication.

3

Enable multi-tenant accounts

Verify that the supported account type is set to Multiple Entra ID tenants.

4

Add authorized tenant IDs

Use the Allow only certain tenants option and add the IDs of the tenants you want to authorize.

!

Caution

The restrictions applied could prevent some legitimate tenants from accessing your services. Be sure to review your list of authorized tenants before saving the changes.

Behavior of Unauthorized Tenants

Consent Attempt

If an unauthorized tenant attempts to grant consent, they will receive an error message indicating that the application does not allow access:

AADSTS7000119

{}JSON
1"error": "invalid_grant",
2"error_description": "AADSTS7000119: Client application 'x' with identifier 'x' is not allowed to be used by tenant 'x' with identifier 'x'."
✦

Tip

When an error like this occurs, verify that the tenant ID is correctly included in the whitelist.

Removing an Authorized Tenant

If a previously authorized tenant is removed from the whitelist, access to the application will be denied on the next login attempt, resulting in the same error message as when attempting to grant consent.

{}JSON
1"error": "invalid_grant",
2"error_description": "AADSTS7000119: Client application 'MultiTenantApp-Demo' with identifier 'f36f643f-d066-42f5-bfda-86ce6de6d7e3' is not allowed to be used by tenant 'ourcloudnetwork' with identifier '235e5e63-c104-417e-9ed6-e96d9a456a9d'."

Going Further

Documentation and Useful Links

  • Official Microsoft Entra ID Guide
  • Concepts on Multi-Tenant Applications

Glossary of Key Terms

  • Microsoft Entra ID: Cloud-based identity management platform.
  • Whitelist: Set of items allowed to access a resource (in this case, tenant IDs).
  • Consent: Action allowing a tenant to grant permissions to an application.

Practical PowerShell Script

Easily add a tenant ID to the whitelist with the following script:

⚡PowerShell
1# Add an authorized tenant to a multi-tenant application
2$appId = "YOUR-APPLICATION-ID"
3$tenantId = "TENANT-ID"
4Set-AzureADApplication -ObjectId $appId -AddTenantRestriction $tenantId
×

Important

Test your configurations before deploying to production environments.

Share:
HM

Houssem MAKHLOUF

Microsoft 365 enthusiast & IT professional.

Previous article

SharePoint Sharing Link Expiration: New Limits

Mar 12, 2026
Next article

Microsoft 365: Managed Services for Secure Cloud Management

Mar 15, 2026

Related articles

Arbre stylisé en doré sur fond noir avec des éléments circulaires.azure

Choosing the Right Extension Type in Microsoft Entra

Discover Microsoft Entra extension types and choose the optimal configuration for your directory objects based on their usage.

Jun 27, 20264 min
Quatre portes dorées avec des icônes de profils utilisateurs se connectant.m365-news

Baseline Scopes in Entra ID and Conditional Access

Baseline scopes now handled by conditional access policies in Entra ID. Prepare your tenant now to avoid interruptions.

Jun 26, 20263 min
Identifier les utilisateurs inactifs Active Directory avec PowerShellwindows

Identify Inactive Active Directory Users with PowerShell

Detect inactive Active Directory users with PowerShell. Automated script for inactivity audit, OU filtering and CSV report generation.

Jun 25, 20267 min