Skip to content

Commit 54ff51b

Browse files
Revise minor issues in doc and example (#19082)
Co-authored-by: Beisi Zhou <[email protected]>
1 parent e2796e0 commit 54ff51b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/KeyVault/KeyVault/Commands/SetAzureKeyVaultAccessPolicy.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,13 @@ public class SetAzureKeyVaultAccessPolicy : KeyVaultManagementCmdletBase
204204
/// </summary>
205205
[Parameter(Mandatory = true,
206206
ParameterSetName = ByObjectId,
207-
HelpMessage = "Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions.")]
207+
HelpMessage = "Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions. Its value is in the format of GUID.")]
208208
[Parameter(Mandatory = true,
209209
ParameterSetName = InputObjectByObjectId,
210-
HelpMessage = "Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions.")]
210+
HelpMessage = "Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions. Its value is in the format of GUID.")]
211211
[Parameter(Mandatory = true,
212212
ParameterSetName = ResourceIdByObjectId,
213-
HelpMessage = "Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions.")]
213+
HelpMessage = "Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions. Its value is in the format of GUID.")]
214214
[ValidateNotNullOrEmpty()]
215215
public string ObjectId { get; set; }
216216

src/KeyVault/KeyVault/help/Set-AzKeyVaultAccessPolicy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,11 @@ This example picks the first one, indicated by index \[0\] in the returned list.
293293

294294
### Example 7: Grant Azure Information Protection access to the customer-managed tenant key (BYOK)
295295
```powershell
296-
Set-AzKeyVaultAccessPolicy -VaultName 'Contoso04Vault' -ServicePrincipalName 00000012-0000-0000-c000-000000000000 -PermissionsToKeys decrypt,sign,get
296+
Set-AzKeyVaultAccessPolicy -VaultName 'Contoso04Vault' -ServicePrincipalName 'MyServicePrincipal' -PermissionsToKeys decrypt,sign,get
297297
```
298298

299299
This command authorizes Azure Information Protection to use a customer-managed key (the bring your own key, or "BYOK" scenario) as the Azure Information Protection tenant key.
300-
When you run this command, specify your own key vault name but you must specify the *ServicePrincipalName* parameter with the GUID **00000012-0000-0000-c000-000000000000** and specify the permissions in the example.
300+
When you run this command, specify your own key vault name but you must specify the *ServicePrincipalName* parameter and specify the permissions in the example.
301301

302302
## PARAMETERS
303303

@@ -424,7 +424,7 @@ Accept wildcard characters: False
424424
```
425425
426426
### -ObjectId
427-
Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions.
427+
Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions. Its value is in the format of GUID.
428428
429429
```yaml
430430
Type: System.String

src/Network/Network/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
- Added `CustomV2` to the validation set of `PolicyType`
3131
- Added `TLSv1_3` to the validation set of `MinProtocolVersion`
3232
- Removed validation for null or empty cipher suites list since there can be empty cipher suites list for min protocol version of tls1.3
33-
* Network Watcher Feature Change: Added new paramenter i.e. AzureVMSS as source endpoint in ConnectionMonitor.
33+
* Network Watcher Feature Change: Added new parameter i.e. AzureVMSS as source endpoint in ConnectionMonitor.
3434
- `New-AzNetworkWatcherConnectionMonitorEndpointObject`
3535
* Added `IdentifyTopFatFlow` parameter to `AzureFirewall`
3636
- `New-AzFirewall`

0 commit comments

Comments
 (0)