Skip to content

Commit 0dc438b

Browse files
authored
Merge pull request #13262 from nickjrobinson/docs-editor/app-only-auth-powershell-v2-1764107947
Update app-only-auth-powershell-v2.md
2 parents 7ea8fca + 40f5ec1 commit 0dc438b

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: App-only authentication in Exchange Online PowerShell and Security & Comp
33
ms.author: chrisda
44
author: chrisda
55
manager: orspodek
6-
ms.date: 10/24/2025
6+
ms.date: 11/25/2025
77
ms.audience: Admin
88
audience: Admin
99
ms.topic: article
@@ -37,7 +37,7 @@ Certificate based authentication (CBA) or app-only authentication as described i
3737
>
3838
> - REST API connections in the Exchange Online PowerShell V3 module require the PowerShellGet and PackageManagement modules. For more information, see [PowerShellGet for REST-based connections in Windows](exchange-online-powershell-v2.md#powershellget-for-rest-api-connections-in-windows).
3939
>
40-
> If the procedures in this article don't work for you, verify that you don't have preview versions of the PackageManagement or PowerShellGet modules installed by running the following command: `Get-InstalledModule PackageManagement -AllVersions; Get-InstalledModule PowerShellGet -AllVersions`.
40+
> - If the procedures in this article don't work for you, verify you don't have preview versions of the PackageManagement or PowerShellGet modules installed by running the following command: `Get-InstalledModule PackageManagement -AllVersions; Get-InstalledModule PowerShellGet -AllVersions`.
4141
>
4242
> - In Exchange Online PowerShell, you can't use the procedures in this article with the following Microsoft 365 Group cmdlets:
4343
> - [New-UnifiedGroup](/powershell/module/exchangepowershell/new-unifiedgroup)
@@ -47,11 +47,14 @@ Certificate based authentication (CBA) or app-only authentication as described i
4747
>
4848
> You can use Microsoft Graph to replace most of the functionality from those cmdlets. For more information, see [Working with groups in Microsoft Graph](/graph/api/resources/groups-overview).
4949
>
50-
> - In Security & Compliance PowerShell, you can't use the procedures in this article with the following Microsoft Purview cmdlets:
50+
> - In Security & Compliance PowerShell, you can't use the procedures in this article with Microsoft Purview cmdlets, including but not limited to:
5151
> - [Get-ComplianceSearchAction](/powershell/module/exchangepowershell/get-compliancesearchaction)
5252
> - [New-ComplianceSearch](/powershell/module/exchangepowershell/new-compliancesearch)
5353
> - [Start-ComplianceSearch](/powershell/module/exchangepowershell/start-compliancesearch)
5454
> - [New-ComplianceSearchAction](/powershell/module/exchangepowershell/new-compliancesearchaction)
55+
> - [Invoke-HoldRemovalAction](/powershell/module/exchangepowershell/invoke-holdremovalaction)
56+
> - [Invoke-ComplianceSecurityFilterAction](/powershell/module/exchangepowershell/invoke-compliancesecurityfilteraction)
57+
> - [Invoke-ComplianceSearchActionStep](/powershell/module/exchangepowershell/invoke-compliancesearchactionstep)
5558
>
5659
> - Delegated scenarios are supported in Exchange Online. The recommended method for connecting with delegation is using GDAP and App Consent. For more information, see [Use the Exchange Online PowerShell v3 Module with GDAP and App Consent](/powershell/partnercenter/exchange-online-gdap-app). You can also use multitenant applications when CSP relationships aren't created with the customer. The required steps for using multitenant applications are called out within the regular instructions in this article.
5760
>
@@ -201,7 +204,7 @@ For a detailed visual flow about creating applications in Microsoft Entra ID, se
201204
202205
When you're finished on the **App registrations** page, select **Register**.
203206
204-
5. You're taken to the **Overview** page of the app you just registered. Leave this page open. You use it in the next step.
207+
5. You're taken to the **Overview** page of the app you registered. Leave this page open. You use it in the next step.
205208
206209
### Step 2: Assign API permissions to the application
207210
@@ -433,7 +436,7 @@ The supported Microsoft Entra roles are described in the following table:
433436

434437
The Security Administrator role doesn't have the necessary permissions for those same tasks.
435438

436-
² Microsoft recommends that you use roles with the fewest permissions. Using lower permissioned accounts helps improve security for your organization. Global Administrator is a highly privileged role that should be limited to emergency scenarios when you can't use an existing role.
439+
² Microsoft strongly advocates for the principle of least privilege. Assigning accounts only the minimum permissions necessary to perform their tasks helps reduce security risks and strengthens your organization's overall protection. Global Administrator is a highly privileged role that you should limit to emergency scenarios or when you can't use a different role.
437440

438441
For general instructions about assigning roles in Microsoft Entra ID, see [Assign Microsoft Entra roles to users](/entra/identity/role-based-access-control/manage-roles-portal).
439442

@@ -457,6 +460,7 @@ For general instructions about assigning roles in Microsoft Entra ID, see [Assig
457460
![Find and select a supported Security & Compliance PowerShell role by clicking on the role name.](media/exo-app-only-auth-find-and-select-supported-role-scc.png)
458461

459462
3. On the **Assignments** page that opens, select **Add assignments**.
463+
460464
- **Exchange Online PowerShell**:
461465

462466
![Select Add assignments on the role assignments page for Exchange Online PowerShell.](media/exo-app-only-auth-role-assignments-click-add-assignments.png)

0 commit comments

Comments
 (0)