Skip to content

Commit a2ec681

Browse files
authored
[KeyVault][BULK] DocuTune - Updates to Azure AD rebranding guidance and DocuTune configuration (#23042)
1 parent 3241420 commit a2ec681

File tree

3 files changed

+24
-29
lines changed

3 files changed

+24
-29
lines changed

src/KeyVault/KeyVault.sln

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Microsoft Visual Studio Solution File, Format Version 12.00
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
23
# Visual Studio Version 17
34
VisualStudioVersion = 17.3.32901.215
45
MinimumVisualStudioVersion = 10.0.40219.1
@@ -22,11 +23,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFx", "..\..\tools\TestF
2223
EndProject
2324
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "KeyVault.Sdk", "KeyVault.Sdk\KeyVault.Sdk.csproj", "{809F0E21-22C6-4CD0-ACE8-AB8ADA0BA4BD}"
2425
EndProject
25-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.KeyVault", "KeyVault.Autorest\Az.KeyVault.csproj", "{0062B427-4E86-43EF-8D7F-2E211D3C1BE7}"
26+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Az.KeyVault", "KeyVault.Autorest\Az.KeyVault.csproj", "{0062B427-4E86-43EF-8D7F-2E211D3C1BE7}"
2627
EndProject
2728
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Network.Management.Sdk", "..\Network\Network.Management.Sdk\Network.Management.Sdk.csproj", "{46D2C182-FE70-46DD-85AD-C356275BBBFE}"
2829
EndProject
29-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Network", "..\Network\Network\Network.csproj", "{46D2C182-FE70-46DD-85AD-C356275BBBFE}"
30+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Network", "..\Network\Network\Network.csproj", "{72AB7911-D3FE-4E4A-B056-83AA48A5E4A5}"
3031
EndProject
3132
Global
3233
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -74,6 +75,14 @@ Global
7475
{0062B427-4E86-43EF-8D7F-2E211D3C1BE7}.Debug|Any CPU.Build.0 = Debug|Any CPU
7576
{0062B427-4E86-43EF-8D7F-2E211D3C1BE7}.Release|Any CPU.ActiveCfg = Release|Any CPU
7677
{0062B427-4E86-43EF-8D7F-2E211D3C1BE7}.Release|Any CPU.Build.0 = Release|Any CPU
78+
{46D2C182-FE70-46DD-85AD-C356275BBBFE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
79+
{46D2C182-FE70-46DD-85AD-C356275BBBFE}.Debug|Any CPU.Build.0 = Debug|Any CPU
80+
{46D2C182-FE70-46DD-85AD-C356275BBBFE}.Release|Any CPU.ActiveCfg = Release|Any CPU
81+
{46D2C182-FE70-46DD-85AD-C356275BBBFE}.Release|Any CPU.Build.0 = Release|Any CPU
82+
{72AB7911-D3FE-4E4A-B056-83AA48A5E4A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
83+
{72AB7911-D3FE-4E4A-B056-83AA48A5E4A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
84+
{72AB7911-D3FE-4E4A-B056-83AA48A5E4A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
85+
{72AB7911-D3FE-4E4A-B056-83AA48A5E4A5}.Release|Any CPU.Build.0 = Release|Any CPU
7786
EndGlobalSection
7887
GlobalSection(SolutionProperties) = preSolution
7988
HideSolutionNode = FALSE

src/KeyVault/KeyVault/Commands/RemoveAzureKeyVaultAccessPolicy.cs

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,11 @@ public class RemoveAzureKeyVaultAccessPolicy : KeyVaultManagementCmdletBase
172172
/// </summary>
173173
[Parameter(Mandatory = true,
174174
ParameterSetName = ByServicePrincipalName,
175-
HelpMessage = "Specifies the service principal name of the application whose permissions you want to remove. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory.")]
175+
HelpMessage = "Specifies the service principal name of the application whose permissions you want to remove. Specify the application ID, also known as client ID, registered for the application in Microsoft Entra ID.")]
176176
[Parameter(Mandatory = true,
177-
ParameterSetName = InputObjectByServicePrincipalName,
178-
HelpMessage = "Specifies the service principal name of the application whose permissions you want to remove. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory.")]
177+
ParameterSetName = InputObjectByServicePrincipalName)]
179178
[Parameter(Mandatory = true,
180-
ParameterSetName = ResourceIdByServicePrincipalName,
181-
HelpMessage = "Specifies the service principal name of the application whose permissions you want to remove. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory.")]
179+
ParameterSetName = ResourceIdByServicePrincipalName)]
182180
[ValidateNotNullOrEmpty()]
183181
[Alias("SPN")]
184182
public string ServicePrincipalName { get; set; }
@@ -204,13 +202,9 @@ public class RemoveAzureKeyVaultAccessPolicy : KeyVaultManagementCmdletBase
204202
/// </summary>
205203
[Parameter(Mandatory = true,
206204
ParameterSetName = ByObjectId,
207-
HelpMessage = "Specifies the object ID of the user or service principal in Azure Active Directory for which to remove permissions.")]
208-
[Parameter(Mandatory = true,
209-
ParameterSetName = InputObjectByObjectId,
210-
HelpMessage = "Specifies the object ID of the user or service principal in Azure Active Directory for which to remove permissions.")]
211-
[Parameter(Mandatory = true,
212-
ParameterSetName = ResourceIdByObjectId,
213-
HelpMessage = "Specifies the object ID of the user or service principal in Azure Active Directory for which to remove permissions.")]
205+
HelpMessage = "Specifies the object ID of the user or service principal in Microsoft Entra ID for which to remove permissions.")]
206+
[Parameter(Mandatory = true, ParameterSetName = InputObjectByObjectId)]
207+
[Parameter(Mandatory = true, ParameterSetName = ResourceIdByObjectId)]
214208
[ValidateNotNullOrEmpty()]
215209
public string ObjectId { get; set; }
216210

src/KeyVault/KeyVault/Commands/SetAzureKeyVaultAccessPolicy.cs

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,9 @@ public class SetAzureKeyVaultAccessPolicy : KeyVaultManagementCmdletBase
172172
/// </summary>
173173
[Parameter(Mandatory = true,
174174
ParameterSetName = ByServicePrincipalName,
175-
HelpMessage = "Specifies the service principal name of the application to which to grant permissions. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. The application with the service principal name that this parameter specifies must be registered in the Azure directory that contains your current subscription.")]
176-
[Parameter(Mandatory = true,
177-
ParameterSetName = InputObjectByServicePrincipalName,
178-
HelpMessage = "Specifies the service principal name of the application to which to grant permissions. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. The application with the service principal name that this parameter specifies must be registered in the Azure directory that contains your current subscription.")]
179-
[Parameter(Mandatory = true,
180-
ParameterSetName = ResourceIdByServicePrincipalName,
181-
HelpMessage = "Specifies the service principal name of the application to which to grant permissions. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. The application with the service principal name that this parameter specifies must be registered in the Azure directory that contains your current subscription.")]
175+
HelpMessage = "Specifies the service principal name of the application to which to grant permissions. Specify the application ID, also known as client ID, registered for the application in Microsoft Entra ID. The application with the service principal name that this parameter specifies must be registered in the Azure directory that contains your current subscription.")]
176+
[Parameter(Mandatory = true, ParameterSetName = InputObjectByServicePrincipalName)]
177+
[Parameter(Mandatory = true, ParameterSetName = ResourceIdByServicePrincipalName)]
182178
[ValidateNotNullOrEmpty()]
183179
[Alias("SPN")]
184180
public string ServicePrincipalName { get; set; }
@@ -204,13 +200,9 @@ public class SetAzureKeyVaultAccessPolicy : KeyVaultManagementCmdletBase
204200
/// </summary>
205201
[Parameter(Mandatory = true,
206202
ParameterSetName = ByObjectId,
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.")]
208-
[Parameter(Mandatory = true,
209-
ParameterSetName = InputObjectByObjectId,
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.")]
211-
[Parameter(Mandatory = true,
212-
ParameterSetName = ResourceIdByObjectId,
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.")]
203+
HelpMessage = "Specifies the object ID of the user or service principal in Microsoft Entra ID for which to grant permissions. Its value is in the format of GUID.")]
204+
[Parameter(Mandatory = true, ParameterSetName = InputObjectByObjectId)]
205+
[Parameter(Mandatory = true, ParameterSetName = ResourceIdByObjectId)]
214206
[ValidateNotNullOrEmpty()]
215207
public string ObjectId { get; set; }
216208

0 commit comments

Comments
 (0)