We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0cbc6c commit d5f03b2Copy full SHA for d5f03b2
azureadps-2.0/AzureAD/Get-AzureADServicePrincipal.md
@@ -53,7 +53,7 @@ This command retrieves all service principal from the directory.
53
### Example 2: Retrieve a service principal by ID
54
```
55
PS C:\> $ServicePrincipalId = (Get-AzureADServicePrincipal -Top 1).ObjectId
56
-PS C:\> Get-AzureADServicePrincipal $ServicePrincipalId
+PS C:\> Get-AzureADServicePrincipal -ObjectId $ServicePrincipalId
57
58
ObjectId AppId DisplayName
59
-------- ----- -----------
0 commit comments