Skip to content

Commit e727f32

Browse files
Merge pull request #13419 from MicrosoftDocs/main
[AutoPublish] main to live - 02/27 13:37 PST | 02/28 03:07 IST
2 parents dba1521 + 3d3b31f commit e727f32

1,089 files changed

Lines changed: 22 additions & 2231 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

exchange/docs-conceptual/app-only-auth-powershell-v2.md

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
22
title: App-only authentication in Exchange Online PowerShell and Security & Compliance PowerShell
3-
ms.author: chrisda
4-
author: chrisda
5-
manager: orspodek
6-
ms.date: 12/05/2025
3+
ms.date: 02/27/2026
74
ms.audience: Admin
85
audience: Admin
96
ms.topic: article
@@ -167,9 +164,7 @@ For a detailed visual flow about creating applications in Microsoft Entra ID, se
167164
168165
4. [Attach the certificate to the Microsoft Entra application](#step-4-attach-the-certificate-to-the-microsoft-entra-application)
169166
170-
5. [Assign Microsoft Entra roles to the application](#step-5-assign-microsoft-entra-roles-to-the-application)
171-
172-
The application needs to have the appropriate RBAC roles assigned. Because the apps are provisioned in Microsoft Entra ID, you can use any of the supported built-in roles.
167+
5. [Assign roles permissions to the application](#step-5-assign-role-permissions-to-the-application)
173168
174169
### Step 1: Register the application in Microsoft Entra ID
175170
@@ -404,19 +399,30 @@ If you made the application multitenant for **Exchange Online** delegated scenar
404399

405400
For more information about the URL syntax, see [Request the permissions from a directory admin](/entra/identity-platform/v2-admin-consent#request-the-permissions-from-a-directory-admin).
406401

407-
### Step 5: Assign Microsoft Entra roles to the application
402+
<a name="step-5-assign-microsoft-entra-roles-to-the-application"></a>
403+
404+
### Step 5: Assign role permissions to the application
405+
406+
You have the following options:
407+
408+
- **Option 1: Assign Microsoft Entra roles to the application**: Use built-in Microsoft Entra roles to grant all permissions of the role. You can't customize or scope these roles.
409+
410+
- **Option 2: Assign custom role groups to the application using service principals**: We recommend this option in the following scenarios:
411+
- You need to restrict the available commands in your application.
412+
- You need to use a Write scope to limit which recipients can be modified.
408413

409-
You have two options:
414+
- **Option 3: Combine Microsoft Entra roles with custom role groups**: We recommend this method to extend a built-in Microsoft Entra role (for example, the **Exchange Recipient Administrator** role) by granting extra permissions from a custom role.
410415

411-
- **Assign Microsoft Entra roles to the application**
412-
- **Assign custom role groups to the application using service principals**: This method is supported only when you connect to Exchange Online PowerShell or Security & Compliance PowerShell in [REST API mode](exchange-online-powershell-v2.md#rest-api-connections-in-the-exo-v3-module). Security & Compliance PowerShell supports REST API mode in v3.2.0 or later.
416+
These options are described in the following subsections.
413417

414418
> [!NOTE]
415-
> You can also combine both methods to assign permissions. For example, you can use Microsoft Entra roles for the "Exchange Recipient Administrator" role and also assign your custom RBAC role to extend the permissions.
419+
> RBAC combines permissions from all sources. For example, you can use the **Exchange Recipient Administrator** role in Microsoft Entra and also assign your custom RBAC role to extend the permissions.
416420
>
417421
> For multitenant applications in **Exchange Online** delegated scenarios, you need to assign permissions in each customer tenant.
418422
419-
#### Assign Microsoft Entra roles to the application
423+
<a name="assign-microsoft-entra-roles-to-the-application"></a>
424+
425+
#### Option 1: Assign Microsoft Entra roles to the application
420426

421427
The supported Microsoft Entra roles are described in the following table:
422428

@@ -487,12 +493,12 @@ For general instructions about assigning roles in Microsoft Entra ID, see [Assig
487493

488494
![The role assignments page after to added the app to the role for Security & Compliance PowerShell.](media/exo-app-only-auth-app-assigned-to-role-scc.png)
489495

490-
#### Assign custom role groups to the application using service principals
496+
<a name="assign-custom-role-groups-to-the-application-using-service-principals"></a>
497+
498+
#### Option 2: Assign custom role groups to the application using service principals
491499

492500
> [!NOTE]
493501
> You need to connect to Exchange Online PowerShell or Security & Compliance PowerShell _before_ completing steps to create a new service principal. Creating a new service principal without connecting to PowerShell doesn't work (your Azure App ID and Object ID are needed to create the new service principal).
494-
>
495-
> This method is supported only when you connect to Exchange Online PowerShell or Security & Compliance PowerShell in [REST API mode](exchange-online-powershell-v2.md#rest-api-connections-in-the-exo-v3-module). Security & Compliance PowerShell supports REST API mode in v3.2.0 or later.
496502
497503
For information about creating custom role groups, see [Create role groups in Exchange Online](/exchange/permissions-exo/role-groups#create-role-groups) and [Create Email & collaboration role groups in the Microsoft Defender portal](/defender-office-365/mdo-portal-permissions#create-email--collaboration-role-groups-in-the-microsoft-defender-portal). The custom role group that you assign to the application can contain any combination of built-in and custom roles.
498504

exchange/docs-conceptual/cmdlet-property-sets.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
---
22
title: Property sets in Exchange Online PowerShell module cmdlets
3-
ms.author: chrisda
4-
author: chrisda
5-
manager: orspodek
63
ms.date: 9/1/2023
74
ms.audience: Admin
85
audience: Admin
96
ms.topic: article
10-
ms.service: exchange-powershell
117
ms.reviewer:
128
ms.localizationpriority: high
139
ms.collection: Strat_EX_Admin

exchange/docs-conceptual/connect-exo-powershell-managed-identity.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
---
22
title: Use Azure managed identities to connect to Exchange Online PowerShell
3-
ms.author: chrisda
4-
author: chrisda
5-
manager: orspodek
63
ms.date: 8/24/2023
74
ms.audience: Admin
85
audience: Admin

exchange/docs-conceptual/connect-to-exchange-online-powershell.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
22
title: Connect to Exchange Online PowerShell
3-
author: chrisda
4-
manager: orspodek
53
ms.date: 07/11/2025
64
ms.audience: Admin
75
audience: Admin
86
ms.topic: article
9-
ms.service: exchange-powershell
107
ms.reviewer:
118
ms.localizationpriority: high
129
ms.collection: Strat_EX_Admin

exchange/docs-conceptual/connect-to-exchange-servers-using-remote-powershell.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
---
22
title: "Connect to Exchange servers using remote PowerShell"
3-
ms.author: chrisda
4-
author: chrisda
5-
manager: orspodek
63
ms.date: 01/23/2026
74
ms.audience: ITPro
85
audience: ITPro
96
ms.topic: article
10-
ms.service: exchange-powershell
117
ms.localizationpriority: high
128
ms.collection: Strat_EX_Admin
139
ms.custom:

exchange/docs-conceptual/connect-to-exo-powershell-c-sharp.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
---
22
title: Use C# to connect to Exchange Online PowerShell
3-
ms.author: chrisda
4-
author: chrisda
5-
manager: orspodek
63
ms.date: 8/21/2023
74
ms.audience: Admin
85
audience: Admin

exchange/docs-conceptual/connect-to-scc-powershell.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
22
title: Connect to Security & Compliance PowerShell
3-
author: chrisda
4-
manager: orspodek
53
ms.date: 12/05/2025
64
ms.audience: Admin
75
audience: Admin
86
ms.topic: article
9-
ms.service: exchange-powershell
107
ms.reviewer:
118
ms.localizationpriority: high
129
ms.collection: Strat_EX_Admin

exchange/docs-conceptual/control-remote-powershell-access-to-exchange-servers.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
---
22
title: "Control remote PowerShell access to Exchange servers"
3-
ms.author: chrisda
4-
author: chrisda
5-
manager: orspodek
63
ms.date: 9/7/2023
74
ms.audience: ITPro
85
audience: ITPro
96
ms.topic: article
10-
ms.service: exchange-powershell
117
ms.localizationpriority: medium
128
ms.assetid: 064e3bb0-38bf-495e-9994-784f823b88dd
139
description: "Administrators can learn how to block or allow users' remote PowerShell access to Exchange servers."

exchange/docs-conceptual/disable-access-to-exchange-online-powershell.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
---
22
title: "Enable or disable access to Exchange Online PowerShell"
3-
ms.author: chrisda
4-
author: chrisda
5-
manager: orspodek
63
ms.date: 07/11/2025
74
ms.audience: Admin
85
audience: Admin
96
ms.topic: article
10-
ms.service: exchange-powershell
117
ms.localizationpriority: medium
128
ms.assetid: f969816a-2607-4655-9d47-9e8767fb5633
139
search.appverid: MET150

exchange/docs-conceptual/exchange-cmdlet-syntax.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
---
22
title: "Exchange cmdlet syntax"
3-
ms.author: chrisda
4-
author: chrisda
5-
manager: orspodek
63
ms.date: 07/11/2025
74
ms.audience: Admin
85
audience: Admin

0 commit comments

Comments
 (0)