Skip to content

Commit e309362

Browse files
committed
Update Test-ServicePrincipalAuthorization.md
1 parent f217079 commit e309362

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

exchange/exchange-ps/exchange/Test-ServicePrincipalAuthorization.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414
## SYNOPSIS
1515
This cmdlet is available only in the cloud-based service.
1616

17-
Use the Test-ServicePrincipalAuthorization cmdlet to test
17+
Use the Test-ServicePrincipalAuthorization cmdlet to test role-based access control (RBAC) for Applications. For more information, see [Role Based Access Control for Applications in Exchange Online](https://learn.microsoft.com/Exchange/permissions-exo/application-rbac).
1818

1919
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
2020

@@ -36,10 +36,10 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
3636

3737
### Example 1
3838
```powershell
39-
{{ Add example code here }}
39+
Test-ServicePrincipalAuthorization -Identity "DemoB" -Resource "Test Mailbox" | Format-Table
4040
```
4141

42-
{{ Add example description here }}
42+
This example tests the RBAC for Applications permissions assigned to DemoB on the mailbox named Test Mailbox
4343

4444
## PARAMETERS
4545

@@ -85,7 +85,7 @@ Accept wildcard characters: False
8585
```
8686

8787
### -Organization
88-
{{ Fill Organization Description }}
88+
This parameter is reserved for internal Microsoft use.
8989

9090
```yaml
9191
Type: OrganizationIdParameter
@@ -101,7 +101,12 @@ Accept wildcard characters: False
101101
```
102102

103103
### -Resource
104-
{{ Fill Resource Description }}
104+
The Resource parameter specifies the target mailbox where the scoped permissions apply. You can use any value that uniquely identifies the mailbox. For example:
105+
106+
- Name
107+
- Distinguished name (DN)
108+
- Canonical DN
109+
- GUID
105110

106111
```yaml
107112
Type: UserIdParameter

0 commit comments

Comments
 (0)