Skip to content

[PS ManagedServices] Update breaking change announcement #28175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - ManagedServices")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.1.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("3.1.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.1.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("3.1.1")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
60 changes: 51 additions & 9 deletions src/ManagedServices/ManagedServices.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,38 +48,80 @@ use-extension:

directive:
- where:
verb: Get
verb: New|Get
subject: RegistrationAssignment
set:
breaking-change:
change-description: "The types of the properties 'Authorization' and 'EligibleAuthorization' will be changed to 'List'."
deprecated-output-properties:
- Authorization[]
- EligibleAuthorization[]
new-output-properties:
- List[Authorization]
- List[EligibleAuthorization]
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03

- where:
verb: New
subject: RegistrationDefinition
set:
breaking-change:
change-description: "The types of the properties 'Authorization' and 'EligibleAuthorization' will be changed to 'List'."
deprecated-output-properties:
- Authorization
- EligibleAuthorization
- DelegatedRoleDefinitionId[]
- JustInTimeAccessPolicyManagedByTenantApprover[]
new-output-properties:
- List[Authorization]
- List[EligibleAuthorization]
- List[DelegatedRoleDefinitionId]
- List[JustInTimeAccessPolicyManagedByTenantApprover]
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03
- where:
verb: New
verb: Get
subject: RegistrationDefinition
set:
breaking-change:
change-description: "The types of the properties 'DelegatedRoleDefinitionId' and 'JustInTimeAccessPolicyManagedByTenantApprover' will be changed to 'List'."
deprecated-output-properties:
- Authorization[]
- EligibleAuthorization[]
new-output-properties:
- List[Authorization]
- List[EligibleAuthorization]
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03

- where:
verb: New|Get
subject: MarketplaceRegistrationDefinition
set:
breaking-change:
change-description: "The types of the properties 'Authorization' and 'EligibleAuthorization' will be changed to 'List'."
deprecated-output-properties:
- Authorization[]
- EligibleAuthorization[]
new-output-properties:
- List[Authorization]
- List[EligibleAuthorization]
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03
- where:
parameter-name: Authorization
set:
breaking-change:
old-parameter-type: Array
new-parameter-type: List
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03
- where:
parameter-name: EligibleAuthorization
set:
breaking-change:
old-parameter-type: Array
new-parameter-type: List
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03
Expand Down Expand Up @@ -128,7 +170,7 @@ directive:

# Generate memory object as parameter of the cmelet.
- model-cmdlet:
- Authorization
# - Authorization
- EligibleApprover
# Need custom that add ArgumentCompleterAttribute for JustInTimeAccessPolicyMultiFactorAuthProvider parameter.
# - EligibleAuthorization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function New-AzManagedServicesAuthorizationObject {
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.Authorization')]
[CmdletBinding(PositionalBinding=$false)]
Param(

[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Runtime.ParameterBreakingChangeAttribute("DelegatedRoleDefinitionId", "15.0.0", "9.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")]
[Parameter(HelpMessage="The delegatedRoleDefinitionIds field is required when the roleDefinitionId refers to the User Access Administrator Role. It is the list of role definition ids which define all the permissions that the user in the authorization can assign to other principals.")]
[string[]]
$DelegatedRoleDefinitionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@
#>
function New-AzManagedServicesEligibleAuthorizationObject {
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleAuthorization')]
[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Runtime.CmdletBreakingChange("15.0.0", "9.0.0", "2025/11/03", ChangeDescription="The type of the property 'DelegatedRoleDefinitionId' will be changed from Array to List.")]
[CmdletBinding(PositionalBinding=$false)]
Param(

[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Runtime.ParameterBreakingChangeAttribute("JustInTimeAccessPolicyManagedByTenantApprover", "15.0.0", "9.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")]
[Parameter(HelpMessage="The list of managedByTenant approvers for the eligible authorization.")]
[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IEligibleApprover[]]
$JustInTimeAccessPolicyManagedByTenantApprover,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Az.ManagedServices
Module Guid: 54366ec5-1955-4a40-b1df-da4057a89b87
Module Guid: 61496bfd-6bc7-48fb-8803-05ad306368f3
Download Help Link: https://learn.microsoft.com/powershell/module/az.managedservices
Help Version: 1.0.0.0
Locale: en-US
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"generate_Id": "a44353e0-7b2f-43c6-bfd0-09c44cfabaa5"
"generate_Id": "511731e3-01e0-46da-aeab-958f3336d646"
}
28 changes: 14 additions & 14 deletions src/ManagedServices/ManagedServices.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedServices", "ManagedS
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ManagedServices.Autorest", "ManagedServices.Autorest", "{2D84CE50-F89B-94FD-0D1C-E1015598E8EB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ManagedServices", "..\..\generated\ManagedServices\ManagedServices.Autorest\Az.ManagedServices.csproj", "{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ManagedServices", "..\..\generated\ManagedServices\ManagedServices.Autorest\Az.ManagedServices.csproj", "{EAAF3FF5-C462-450B-9156-FFDB3899DA62}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -117,18 +117,18 @@ Global
{F18ADD45-27F3-48D1-98C9-632575DB58D9}.Release|x64.Build.0 = Release|Any CPU
{F18ADD45-27F3-48D1-98C9-632575DB58D9}.Release|x86.ActiveCfg = Release|Any CPU
{F18ADD45-27F3-48D1-98C9-632575DB58D9}.Release|x86.Build.0 = Release|Any CPU
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Debug|x64.ActiveCfg = Debug|Any CPU
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Debug|x64.Build.0 = Debug|Any CPU
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Debug|x86.ActiveCfg = Debug|Any CPU
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Debug|x86.Build.0 = Debug|Any CPU
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Release|Any CPU.Build.0 = Release|Any CPU
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Release|x64.ActiveCfg = Release|Any CPU
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Release|x64.Build.0 = Release|Any CPU
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Release|x86.ActiveCfg = Release|Any CPU
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC}.Release|x86.Build.0 = Release|Any CPU
{EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|x64.ActiveCfg = Debug|Any CPU
{EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|x64.Build.0 = Debug|Any CPU
{EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|x86.ActiveCfg = Debug|Any CPU
{EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|x86.Build.0 = Debug|Any CPU
{EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|Any CPU.Build.0 = Release|Any CPU
{EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|x64.ActiveCfg = Release|Any CPU
{EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|x64.Build.0 = Release|Any CPU
{EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|x86.ActiveCfg = Release|Any CPU
{EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -140,6 +140,6 @@ Global
{9C8C8F4B-359B-448F-88CB-7F4F1B94709E} = {3A8A3FE9-7C8D-43B9-AC12-8FAA83CD977C}
{C7AE743C-7AA2-4D4C-B1C3-CBAA389F7431} = {3A8A3FE9-7C8D-43B9-AC12-8FAA83CD977C}
{BA824808-A1F8-4F51-AADD-B0CEDB4215B7} = {3A8A3FE9-7C8D-43B9-AC12-8FAA83CD977C}
{BE60008E-9050-4526-BE3E-8A2C4CC5A9EC} = {2D84CE50-F89B-94FD-0D1C-E1015598E8EB}
{EAAF3FF5-C462-450B-9156-FFDB3899DA62} = {2D84CE50-F89B-94FD-0D1C-E1015598E8EB}
EndGlobalSection
EndGlobal
10 changes: 5 additions & 5 deletions src/ManagedServices/ManagedServices/Az.ManagedServices.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 6/25/2025
# Generated on: 7/11/2025
#

@{
Expand Down Expand Up @@ -57,10 +57,10 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.1.1'; })
RequiredAssemblies = 'ManagedServices.Autorest/bin/Az.ManagedServices.private.dll'

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()
TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = 'ManagedServices.Autorest/Az.ManagedServices.format.ps1xml'
Expand Down Expand Up @@ -104,7 +104,7 @@ PrivateData = @{
PSData = @{

# Tags applied to this module. These help with module discovery in online galleries.
Tags = 'Azure','ResourceManager','ARM','PSModule','ManagedServices'
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'ManagedServices'

# A URL to the license for this module.
LicenseUri = 'https://aka.ms/azps-license'
Expand Down Expand Up @@ -137,7 +137,7 @@ PrivateData = @{

} # End of PSData hashtable

} # End of PrivateData hashtable
} # End of PrivateData hashtable

# HelpInfo URI of this module
# HelpInfoURI = ''
Expand Down
1 change: 1 addition & 0 deletions src/ManagedServices/ManagedServices/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Update the outputs of breaking change announcements.

## Version 3.1.1
* Added breaking change announcement for below commands from array or single object to list.
Expand Down