You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: concepts/security-ediscovery-appauthsetup.md
+21-21Lines changed: 21 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -68,38 +68,38 @@ You need to set the correct API permissions for your application. Expand **Manag
68
68
69
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.
70
70
71
-
```powershell
72
-
Install-Module ExchangeOnlineManagement
73
-
Import-Module ExchangeOnlineManagement
74
-
Connect-IPPSSession
75
-
```
71
+
```powershell
72
+
Install-Module ExchangeOnlineManagement
73
+
Import-Module ExchangeOnlineManagement
74
+
Connect-IPPSSession
75
+
```
76
76
77
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.
78
78
79
-
Run the following cmdlet, replacing the **AppId**, **ObjectId**, and **DisplayName** arguments.
79
+
Run the following cmdlet, replacing the **AppId**, **ObjectId**, and **DisplayName** arguments.
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.
87
87
88
-
Run the following cmdlet, replacing the **Identity** and **Member** arguments.
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.
96
96
97
-
Run the following cmdlet, replacing the **Identity** and **Member** arguments.
97
+
Run the following cmdlet, replacing the **Identity** and **Member** arguments.
0 commit comments