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: exchange/exchange-ps/exchange/Test-ServicePrincipalAuthorization.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,29 +35,32 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
35
35
## EXAMPLES
36
36
37
37
### Example 1
38
-
Testing if this service principal can exercise each of its assigned permissions against the target mailbox "Mailbox A." The membership in the scope is indicated by the InScope column.
This example tests if this service principal (the app named "DemoB") can exercise each of its assigned permissions against the target mailbox named "Mailbox A." The membership in the scope is indicated by the InScope column.
49
+
49
50
### Example 2
50
-
Testing the entitlement of DemoB including which permissions it has at which scopes. Since there is no target resource included the scope membership check is not run.
Application Mail.Read Mail.Read Canadian Employees CustomRecipientScope Not Run
56
57
Application Calendars.Read Calendars.Read 4d819ce9-9257-44.. AdministrativeUnit Not Run
57
58
Application Contacts.Read Contacts.Read Organization Organization Not Run
58
59
```
59
60
60
-
This example tests the RBAC for Applications permissions assigned to DemoB on the mailbox named Test Mailbox
61
+
This example tests the RBAC for Applications permissions assigned to DemoB on the mailbox named Test Mailbox.
62
+
63
+
This example tests the entitlement of the app named "DemoB", including which permissions it has at which scopes. Because the command doesn't use the Resource parameter, the scope membership check is not run.
0 commit comments