Migration Guide for Az 4.1.0

This document describes the changes between the 3.0.0 and 4.1.0 versions of Az.

Az.ApiManagement

Add-AzApiManagementRegion

The type of property Type of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementServiceIdentity has changed from Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementServiceIdentityType to System.String.

New-AzApiManagement

  • The cmdlet New-AzApiManagement no longer supports the parameter AssignIdentity and no alias was found for the original parameter name.
  • The parameter set __AllParameterSets for cmdlet New-AzApiManagement has been removed.

Set-AzApiManagement

  • The cmdlet Set-AzApiManagement no longer supports the parameter AssignIdentity and no alias was found for the original parameter name.
  • The parameter set __AllParameterSets for cmdlet Set-AzApiManagement has been removed.

Get-AzApiManagementProperty

The cmdlet Get-AzApiManagementProperty has been replaced by Get-AzApiManagementNamedValue.

New-AzApiManagementProperty

The cmdlet New-AzApiManagementProperty has been replaced by New-AzApiManagementNamedValue.

Remove-AzApiManagementProperty

The cmdlet Remove-AzApiManagementProperty has been replaced by Remove-AzApiManagementNamedValue.

Set-AzApiManagementProperty

The cmdlet Set-AzApiManagementProperty has been replaced by Set-AzApiManagementNamedValue.

Az.Batch

Get-AzBatchApplication, New-AzBatchApplication

The property ApplicationPackages of type Microsoft.Azure.Commands.Batch.Models.PSApplication has been removed.

Get-AzBatchComputeNode, New-AzBatchPool

The property PublicIPs of type Microsoft.Azure.Commands.Batch.Models.PSNetworkConfiguration has been removed

Get-AzBatchApplicationPackage, New-AzBatchApplicationPackage

The type of property StorageUrlExpiry of type Microsoft.Azure.Commands.Batch.Models.PSApplicationPackage has changed from System.DateTime to System.DateTime?.

Az.Compute

Remove-AzVmssDiagnosticsExtension

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Get-AzVMImage

  • The cmdlet Get-AzVMImage no longer supports the parameter FilterExpression and no alias was found for the original parameter name.
  • The parameter set ListVMImage for cmdlet Get-AzVMImage has been removed.

New-AzVMConfig

  • The cmdlet New-AzVMConfig no longer supports the parameter AssignIdentity and no alias was found for the original parameter name.
  • The parameter set AssignIdentityParameterSet for cmdlet New-AzVMConfig has been removed.

Update-AzVM

  • The cmdlet Update-AzVM no longer supports the parameter AssignIdentity and no alias was found for the original parameter name.
  • The parameter set AssignIdentityParameterSet for cmdlet Update-AzVM has been removed.

New-AzProximityPlacementGroup

  • The generic type for property VirtualMachines, VirtualMachineScaleSets, and AvailabilitySets has been changed from System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource] to System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus].
  • The property VirtualMachinesColocationStatus, VirtualMachineScaleSetsColocationStatus, and AvailabilitySetsColocationStatus of type Microsoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroup has been removed.

Before

PS C:\> New-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName -Location $location -Tag @{key1 = 'val1'} | Format-List

ResourceGroupName                       : $resourceGroupName
ProximityPlacementGroupType             : Standard
VirtualMachinesColocationStatus         : {}
VirtualMachineScaleSetsColocationStatus : {}
AvailabilitySetsColocationStatus        : {}
ColocationStatus                        :
Id                                      : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/$resourceGroupName/providers/Microsoft.Compute/proximityPlacementGroups/$proximityPlacementGroupName
Name                                    : $proximityPlacementGroupName
Type                                    : Microsoft.Compute/proximityPlacementGroups
Location                                : $location
Tags                                    : {[key1, val1]}
VirtualMachines                         : {}
VirtualMachineScaleSets                 : {}
AvailabilitySets                        : {}

After

PS C:\> New-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName -Location $location -Tag @{key1 = 'val1'} | Format-List

ResourceGroupName                       : $resourceGroupName
ProximityPlacementGroupType             : StandardColocationStatus                        :
Id                                      : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/$resourceGroupName/providers/Microsoft.Compute/proximityPlacementGroups/$proximityPlacementGroupName
Name                                    : $proximityPlacementGroupName
Type                                    : Microsoft.Compute/proximityPlacementGroups
Location                                : $location
Tags                                    : {[key1, val1]}
VirtualMachines                         : {}
VirtualMachineScaleSets                 : {}
AvailabilitySets                        : {}

Remove-AzProximityPlacementGroup

  • The generic type for property VirtualMachines, VirtualMachineScaleSets, and AvailabilitySets has been changed from System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource] to System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus].
  • The property VirtualMachinesColocationStatus, VirtualMachineScaleSetsColocationStatus, and AvailabilitySetsColocationStatus of type Microsoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroup has been removed.

Before

PS C:\> Get-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName | Remove-AzProximityPlacementGroup | Format-List

ResourceGroupName                       : $resourceGroupName
ProximityPlacementGroupType             : Standard
VirtualMachinesColocationStatus         : {}
VirtualMachineScaleSetsColocationStatus : {}
AvailabilitySetsColocationStatus        : {}
ColocationStatus                        :
Id                                      : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/$resourceGroupName/providers/Microsoft.Compute/proximityPlacementGroups/$proximityPlacementGroupName
Name                                    : $proximityPlacementGroupName
Type                                    : Microsoft.Compute/proximityPlacementGroups
Location                                : $location
Tags                                    : {[key1, val1]}
VirtualMachines                         : {}
VirtualMachineScaleSets                 : {}
AvailabilitySets                        : {}

After

PS C:\> Get-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName | Remove-AzProximityPlacementGroup | Format-List

ResourceGroupName                       : $resourceGroupName
ProximityPlacementGroupType             : StandardColocationStatus                        :
Id                                      : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/$resourceGroupName/providers/Microsoft.Compute/proximityPlacementGroups/$proximityPlacementGroupName
Name                                    : $proximityPlacementGroupName
Type                                    : Microsoft.Compute/proximityPlacementGroups
Location                                : $location
Tags                                    : {[key1, val1]}
VirtualMachines                         : {}
VirtualMachineScaleSets                 : {}
AvailabilitySets                        : {}

Get-AzProximityPlacementGroup

  • The generic type for property VirtualMachines, VirtualMachineScaleSets, and AvailabilitySets has been changed from System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResource] to System.Collections.Generic.IList1[Microsoft.Azure.Management.Compute.Models.SubResourceWithColocationStatus].
  • The property VirtualMachinesColocationStatus, VirtualMachineScaleSetsColocationStatus, and AvailabilitySetsColocationStatus of type Microsoft.Azure.Commands.Compute.Automation.Models.PSProximityPlacementGroup has been removed.

Before

PS C:\> Get-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName | Format-List

ResourceGroupName                       : $resourceGroupName
ProximityPlacementGroupType             : Standard
VirtualMachinesColocationStatus         : {}
VirtualMachineScaleSetsColocationStatus : {}
AvailabilitySetsColocationStatus        : {}
ColocationStatus                        :
Id                                      : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/$resourceGroupName/providers/Microsoft.Compute/proximityPlacementGroups/$proximityPlacementGroupName
Name                                    : $proximityPlacementGroupName
Type                                    : Microsoft.Compute/proximityPlacementGroups
Location                                : $location
Tags                                    : {[key1, val1]}
VirtualMachines                         : {}
VirtualMachineScaleSets                 : {}
AvailabilitySets                        : {}

After

PS C:\> Get-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName | Format-List

ResourceGroupName                       : $resourceGroupName
ProximityPlacementGroupType             : StandardColocationStatus                        :
Id                                      : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/$resourceGroupName/providers/Microsoft.Compute/proximityPlacementGroups/$proximityPlacementGroupName
Name                                    : $proximityPlacementGroupName
Type                                    : Microsoft.Compute/proximityPlacementGroups
Location                                : $location
Tags                                    : {[key1, val1]}
VirtualMachines                         : {}
VirtualMachineScaleSets                 : {}
AvailabilitySets                        : {}

Add-AzVmssAdditionalUnattendContent

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssDataDisk

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssExtension

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssNetworkInterfaceConfiguration

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssSecret

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssSshPublicKey

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Add-AzVmssWinRMListener

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

New-AzVmssConfig

  • The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
  • No longer supports the parameter AutomaticRepairMaxInstanceRepairsPercent and no alias was found for the original parameter name.
  • No longer supports the parameter AssignIdentity and no alias was found for the original parameter name.
  • The parameter set __AllParameterSets has been removed.
  • The parameter set ExplicitIdentityParameterSet has been removed.
  • The parameter set AssignIdentityParameterSet has been removed.

Remove-AzVmssDataDisk

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Remove-AzVmssExtension

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Remove-AzVmssNetworkInterfaceConfiguration

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssBootDiagnostic

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssOsProfile

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssRollingUpgradePolicy

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssStorageProfile

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

New-AzVmss

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Repair-AzVmssServiceFabricUpdateDomain

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Get-AzVmss

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Set-AzVmssOrchestrationServiceState

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Update-AzVmss

  • The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.
  • No longer supports the parameter AutomaticRepairMaxInstanceRepairsPercent and no alias was found for the original parameter name.
  • The parameter set __AllParameterSets has been removed.
  • The parameter set ExplicitIdentityParameterSet has been removed.

Add-AzVmssDiagnosticsExtension

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Disable-AzVmssDiskEncryption

The type of property AutomaticRepairsPolicy of type Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet has changed from Microsoft.Azure.Commands.Compute.Automation.Models.PSAutomaticRepairsPolicy to Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy.

Az.KeyVault

New-AzKeyVaultCertificateOrganizationDetail

The alias New-AzKeyVaultCertificateOrganizationDetails is removed. Please use New-AzKeyVaultCertificateOrganizationDetail.

Before

PS C:\> New-AzKeyVaultCertificateOrganizationDetails -AdministratorDetails $AdminDetails

After

PS C:\> New-AzKeyVaultCertificateOrganizationDetail -AdministratorDetails $AdminDetails

New-AzKeyVaultCertificateAdministratorDetail

The alias New-AzKeyVaultCertificateAdministratorDetails is removed. Please use New-AzKeyVaultCertificateAdministratorDetail.

Before

PS C:\> $AdminDetails = New-AzKeyVaultCertificateAdministratorDetails -FirstName 'Patti' -LastName 'Fuller' -EmailAddress 'patti.fuller@contoso.com' -PhoneNumber '5553334444'

After

PS C:\> $AdminDetails = New-AzKeyVaultCertificateAdministratorDetail -FirstName 'Patti' -LastName 'Fuller' -EmailAddress 'patti.fuller@contoso.com' -PhoneNumber '5553334444'

New-AzKeyVault

-EnableSoftDelete is removed, as soft delete is enabled by default. Please use -DisableSoftDelete if you do not want this behavior.

Before

PS C:\> New-AzKeyVault -VaultName 'Contoso03Vault' -ResourceGroupName 'Group14' -Location 'East US' -EnableSoftDelete

After

PS C:\> New-AzKeyVault -VaultName 'Contoso03Vault' -ResourceGroupName 'Group14' -Location 'East US'

Az.Monitor

Add-AzLogProfile

The type of property RetentionPolicy of type Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfile has changed from Microsoft.Azure.Management.Monitor.Management.Models.RetentionPolicy to Microsoft.Azure.Management.Monitor.Models.RetentionPolicy.

Get-AzLogProfile

The type of property RetentionPolicy of type Microsoft.Azure.Commands.Insights.OutputClasses.PSLogProfile has changed from Microsoft.Azure.Management.Monitor.Management.Models.RetentionPolicy to Microsoft.Azure.Management.Monitor.Models.RetentionPolicy.

New-AzMetricAlertRuleV2Criteria

The parameter set __AllParameterSets for cmdlet New-AzMetricAlertRuleV2Criteria has been removed.

Az.Network

Get-AzNetworkWatcherConnectionMonitor

The generic type for property RoundTripTimeMs has been changed from System.Nullable1[System.Int32] to System.Nullable1[System.Double].

New-AzNetworkWatcherConnectionMonitorTestConfigurationObject

The generic type for parameter SuccessThresholdRoundTripTimeMs has been changed from System.Nullable1[System.Int32] to System.Nullable1[System.Double].

Az.OperationalInsights

Get-AzOperationalInsightsDataSource

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

New-AzOperationalInsightsApplicationInsightsDataSource

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

New-AzOperationalInsightsAzureActivityLogDataSource

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

New-AzOperationalInsightsCustomLogDataSource

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

New-AzOperationalInsightsLinuxPerformanceObjectDataSource

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

New-AzOperationalInsightsLinuxSyslogDataSource

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

New-AzOperationalInsightsWindowsEventDataSource

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

New-AzOperationalInsightsWindowsPerformanceCounterDataSource

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Remove-AzOperationalInsightsDataSource

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Disable-AzOperationalInsightsIISLogCollection

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Disable-AzOperationalInsightsLinuxCustomLogCollection

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Disable-AzOperationalInsightsLinuxPerformanceCollection

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Disable-AzOperationalInsightsLinuxSyslogCollection

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Enable-AzOperationalInsightsIISLogCollection

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Enable-AzOperationalInsightsLinuxCustomLogCollection

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Enable-AzOperationalInsightsLinuxPerformanceCollection

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Enable-AzOperationalInsightsLinuxSyslogCollection

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Get-AzOperationalInsightsSavedSearch

The property Metadata of type Microsoft.Azure.Commands.OperationalInsights.Models.PSSearchListSavedSearchResponse has been removed.

Get-AzOperationalInsightsSavedSearchResult

The cmdlet Get-AzOperationalInsightsSavedSearchResult was not supported by SDK anymore and has been removed.

Get-AzOperationalInsightsSearchResult

The cmdlet Get-AzOperationalInsightsSearchResult was not supported by SDK anymore and has been removed.

Get-AzOperationalInsightsStorageInsight

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

New-AzOperationalInsightsStorageInsight

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Remove-AzOperationalInsightsStorageInsight

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Set-AzOperationalInsightsStorageInsight

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Get-AzOperationalInsightsLinkTarget

The cmdlet Get-AzOperationalInsightsLinkTarget was not supported by SDK anymore and has been removed.

Get-AzOperationalInsightsWorkspace

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

New-AzOperationalInsightsWorkspace

  • The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.
  • The cmdlet New-AzOperationalInsightsWorkspace no longer supports the parameter CustomerId and no alias was found for the original parameter name.
  • The parameter set __AllParameterSets for cmdlet New-AzOperationalInsightsWorkspace has been removed.

Set-AzOperationalInsightsWorkspace

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Invoke-AzOperationalInsightsQuery

The property PortalUrl of type Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspace has been removed.

Az.Resources

Get-AzDeploymentScript

The type of property Status of type Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript has changed from Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus to Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.

Get-AzDeploymentScriptLog

The type of property Status of type Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript has changed from Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus to Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.

Save-AzDeploymentScriptLog

The type of property Status of type Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript has changed from Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus to Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.

Get-AzResourceLock, New-AzResourceLock, Remove-AzResourceLock, Set-AzResourceLock

Parameter TenantLevel has been removed.

Get-AzPolicyAlias

The generic type for property Aliases has been changed from System.Collections.Generic.IList1[Microsoft.Azure.Management.ResourceManager.Models.AliasType] to System.Collections.Generic.IList1[Microsoft.Azure.Management.ResourceManager.Models.Alias].

New-AzPolicyAssignment

  • The cmdlet New-AzPolicyAssignment no longer supports the type System.Management.Automation.PSObject for parameter PolicyDefinition.
  • The cmdlet New-AzPolicyAssignment no longer supports the type System.Management.Automation.PSObject for parameter PolicySetDefinition.

Remove-AzDeploymentScript

The type of property Status of type Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsDeploymentScript has changed from Microsoft.Azure.Management.ResourceManager.Models.ScriptStatus to Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PsScriptStatus.

Az.Storage

Update-AzStorageAccountNetworkRuleSet, Get-AzStorageAccountNetworkRuleSet

Changed NetWorkRule DefaultAction value from: Allow = 1, Deny = 0, to: Allow = 0, Deny = 1.

New-AzStorageTable, Get-AzStorageTable

Output object AzureStorageTable.CloudTable.ServiceClient have 2 properties removed: ConnectionPolicy, ConsistencyLevel.

Get-AzStorageFile, Remove-AzStorageFile, Get-AzStorageFileContent, Set-AzStorageFileContent, Start-AzStorageFileCopy

Change output type from CloudFile to AzureStorageFile, the original output will become child property "CloudFile" of the new output

Before

PS C:\> $file = Get-AzStorageFile -ShareName $shareName -Path testfile -Context $ctx

PS C:\> Remove-AzStorageFile -File $file

After

PS C:\> $file = Get-AzStorageFile -ShareName $shareName -Path testfile -Context $ctx

PS C:\> Remove-AzStorageFile -File $file.CloudFile

Get-AzStorageFile, New-AzStorageDirectory, Remove-AzStorageDirectory

Change output type from CloudFileDirectory to AzureStorageFileDirectory, the original output will become child property "CloudFileDirectory" of the new output

Before

PS C:\> $dir = Get-AzStorageFile -ShareName $shareName -Path testdir -Context $ctx

PS C:\> Remove-AzStorageDirectory -Directory $dir

After

PS C:\> $dir = Get-AzStorageFile -ShareName $shareName -Path testdir -Context $ctx

PS C:\> Remove-AzStorageDirectory -Directory $dir.CloudFileDirectory

Get-AzStorageShare, New-AzStorageShare, Remove-AzStorageShare

Change output type from FileShareProperties to AzureStorageFileShare, the original output will become child property "CloudFileShare" of the new output

Before

PS C:\> $share = Get-AzStorageShare -Name $shareName -Context $ctx

PS C:\> Remove-AzStorageShare -Share $share

After

PS C:\> $share = Get-AzStorageShare -Name $shareName -Context $ctx

PS C:\> Remove-AzStorageShare -Share $share.CloudFileShare

Set-AzStorageShareQuota

Change output type from FileShareProperties to AzureStorageFileShare, the original output will become sub child property ""CloudFileShare.Properties"" of the new output

Before

PS C:\> $shareProperties = Set-AzStorageShareQuota -Name $shareName -Quota 100 -Context $ctx

PS C:\> $shareProperties

ETag                LastModified                Quota
----                ------------                -----
"0x8D7F5BC7789FC63" 5/11/2020 3:03:30 PM +00:00   100

After

PS C:\> $share = Set-AzStorageShareQuota -Name $shareName -Quota 100 -Context $ctx

PS C:\> $share

   File End Point: https://weiors1.file.core.windows.net/

Name     QuotaGiB LastModified                IsSnapshot SnapshotTime
----     -------- ------------                ---------- ------------
weitest1 100      5/11/2020 3:03:30 PM +00:00 False

PS C:\> $share.CloudFileShare.Properties

ETag                LastModified                Quota
----                ------------                -----
"0x8D7F5BC7789FC63" 5/11/2020 3:03:30 PM +00:00   100

Remove-AzStorageDirectory

When removing sub File Directories with parent Directory object and -Path, Can't input -Path from pipeline with type (string) match anymore.

Before

PS C:\> $dir = Get-AzStorageFile -ShareName $shareName -Path testdir -Context $ctx

PS C:\> @('dir1', 'dir2') | Remove-AzStorageDirectory -Directory $dir

After

PS C:\> $dir = Get-AzStorageFile -ShareName $shareName -Path testdir -Context $ctx

PS C:\> $paths = @(
    [PSCustomObject]@{  Path = 'dir1 }
    [PSCustomObject]@{ Path = 'dir2' }
)

PS C:\> $paths | Remove-AzStorageDirectory -Directory $dir.CloudFileDirectory