Skip to content

Commit 196c6c2

Browse files
updates
1 parent 1fa1c77 commit 196c6c2

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

concepts/security-ediscovery-appauthsetup.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,15 @@ You need to set the correct API permissions for your application. Expand **Manag
6464

6565
![Screenshot of the enterprise applications page.](images/security-ediscovery-appauthsetup-step4_1.png)
6666

67-
2. Open a new PowerShell session to create a service principal that you can add to the eDiscoveryManager role group:
68-
69-
Install and import the [ExchangeOnlineManagement](https://www.powershellgallery.com/packages/ExchangeOnlineManagement) module using the following cmdlets. The Install-Module cmdlet recommends upgrading the package if the module is already installed.
67+
2. Open a new PowerShell session. Install and import the [ExchangeOnlineManagement](https://www.powershellgallery.com/packages/ExchangeOnlineManagement) module using the following cmdlets. The Install-Module cmdlet recommends upgrading the package if the module is already installed.
7068

7169
```powershell
7270
Install-Module ExchangeOnlineManagement
7371
Import-Module ExchangeOnlineManagement
7472
Connect-IPPSSession
7573
```
7674

77-
Use the [New-ServicePrincipal](/powershell/module/exchange/new-serviceprincipal) cmdlet to create a service principal with your app's details and verify it using [Get-ServicePrincipal](/powershell/module/exchange/get-serviceprincipal) cmdlet.
75+
3. Use the [New-ServicePrincipal](/powershell/module/exchange/new-serviceprincipal) cmdlet to create a service principal with your app's details and verify it using [Get-ServicePrincipal](/powershell/module/exchange/get-serviceprincipal) cmdlet.
7876

7977
Run the following cmdlet, replacing the **AppId**, **ObjectId**, and **DisplayName** arguments.
8078

@@ -83,7 +81,7 @@ New-ServicePrincipal -AppId "0969a7fc-3e17-424f-92a4-54e583b2142a" -ObjectId "a8
8381
Get-ServicePrincipal
8482
```
8583

86-
Add service principal object id to the eDiscoveryManager role using [Add-RoleGroupMember](/powershell/module/exchange/add-rolegroupmember) cmdlet and verify using [Get-RoleGroupMember](/powershell/module/exchange/get-rolegroupmember) cmdlet.
84+
4. Add service principal object id to the eDiscoveryManager role using [Add-RoleGroupMember](/powershell/module/exchange/add-rolegroupmember) cmdlet and verify using [Get-RoleGroupMember](/powershell/module/exchange/get-rolegroupmember) cmdlet.
8785

8886
Run the following cmdlet, replacing the **Identity** and **Member** arguments.
8987

@@ -92,7 +90,7 @@ Add-RoleGroupMember -Identity "eDiscoveryManager" -Member "a8c1aaec-d18a-47fa-ae
9290
Get-RoleGroupMember -Identity "eDiscoveryManager"
9391
```
9492

95-
Add service principal object id to the eDiscoveryAdministrator role using [Add-eDiscoveryCaseAdmin](/powershell/module/exchange/add-ediscoverycaseadmin) cmdlet and verify using [Get-eDiscoveryCaseAdmin](/powershell/module/exchange/get-ediscoverycaseadmin) cmdlet.
93+
5. Add service principal object id to the eDiscoveryAdministrator role using [Add-eDiscoveryCaseAdmin](/powershell/module/exchange/add-ediscoverycaseadmin) cmdlet and verify using [Get-eDiscoveryCaseAdmin](/powershell/module/exchange/get-ediscoverycaseadmin) cmdlet.
9694

9795
Run the following cmdlet, replacing the **Identity** and **Member** arguments.
9896

0 commit comments

Comments
 (0)