Skip to content

Commit 6803c8c

Browse files
authored
Merge pull request #11037 from joannawang-msft/patch-2
Update Get-ServicePrincipal.md
2 parents 616f826 + e5860cd commit 6803c8c

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

exchange/exchange-ps/exchange/Get-ServicePrincipal.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ For information about the parameter sets in the Syntax section below, see [Excha
2222

2323
```
2424
Get-ServicePrincipal [[-Identity] <ServicePrincipalIdParameter>]
25-
[-Organization <OrganizationIdParameter>]
2625
[<CommonParameters>]
2726
```
2827

@@ -40,14 +39,14 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
4039
Get-ServicePrincipal
4140
```
4241

43-
This example returns a summary list of all service principals.
42+
This example returns a summary list of all service principals within an organization.
4443

4544
### Example 2
4645
```powershell
4746
Get-ServicePrincipal -Identity ca73fffa-cedb-4b84-860f-d7fb8aa8a6c1 | Format-List
4847
```
4948

50-
This example returns detailed information about the service principal with the ServiceId value ca73fffa-cedb-4b84-860f-d7fb8aa8a6c1.
49+
This example returns detailed information about the service principal with the ObjectId value ca73fffa-cedb-4b84-860f-d7fb8aa8a6c1.
5150

5251
## PARAMETERS
5352

@@ -58,7 +57,7 @@ The Identity parameter specifies the service principal that you want to view. Yo
5857
- Distinguished name (DN)
5958
- GUID
6059
- AppId
61-
- ServiceId
60+
- ObjectId
6261

6362
```yaml
6463
Type: ServicePrincipalIdParameter
@@ -73,22 +72,6 @@ Accept pipeline input: True (ByPropertyName, ByValue)
7372
Accept wildcard characters: False
7473
```
7574
76-
### -Organization
77-
This parameter is reserved for internal Microsoft use.
78-
79-
```yaml
80-
Type: OrganizationIdParameter
81-
Parameter Sets: (All)
82-
Aliases:
83-
Applicable: Exchange Online, Security & Compliance, Exchange Online Protection
84-
85-
Required: False
86-
Position: Named
87-
Default value: None
88-
Accept pipeline input: False
89-
Accept wildcard characters: False
90-
```
91-
9275
### CommonParameters
9376
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).
9477

0 commit comments

Comments
 (0)