Training
Module
Create and manage workspaces in Power BI - Training
Learn how to navigate the Power BI service, create and manage workspaces and related items, and distribute reports to users.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The parameter 'DockerBridgeCidr' is removed from the cmdlet 'New-AzAksCluster', and there is no replacement for it.
The api version is downgraded to 2021-03-01
. Some properties are removed.
Creation of Disk without any Image or SecurityType values provided will default to turn Trusted Launch on.
$diskconfig = New-AzDiskConfig -DiskSizeGB 127 -AccountType Premium_LRS -OsType Windows -CreateOption FromImage -Location $loc;
$diskconfig = New-AzDiskConfig -DiskSizeGB 127 -AccountType Premium_LRS -OsType Windows -CreateOption FromImage -Location $loc -SecurityType "Standard";
Linux image aliases CentOS, Debian, RHEL, and UbuntuLTS are removed. Instead use the aliases CentOS85Gen2, Debian11, RHELRaw8LVMGen2, Ubuntu2204.
New-AzVM -ResourceGroupName MyResourceGroup -Name mytestvm -Location $loc -Credential $cred -DomainNameLabel $domainNameLabel -Image UbuntuLTS;
New-AzVM -ResourceGroupName MyResourceGroup -Name mytestvm -Location $loc -Credential $cred -DomainNameLabel $domainNameLabel -Image Ubuntu2204;
Creation of VM without any Image or SecurityType values provided will default to turn Trusted Launch on.
$result = New-AzVM -ResourceGroupName $rgname -Credential $vmCred -Name $vmName -DomainNameLabel $domainNameLabel ;
$result = New-AzVM-ResourceGroupName $rgname -Credential $vmCred -Name $vmName -ImageName $imageName -DomainNameLabel $domainNameLabel -SecurityType "Standard";
Linux image aliases CentOS, Debian, RHEL, and UbuntuLTS are removed. Instead use the aliases CentOS85Gen2, Debian11, RHELRaw8LVMGen2, Ubuntu2204.
Creation of Vmss using this cmdlet will now default to OrchestrationMode: Flexible. Only when explicitly stated "-OrchestrationMode Uniform", it will create a VMSS in Uniform orchestration mode. UgradePolicy and SinglePlacementGroup can also be set now when OrchestrationMode is Flexible.
New-AzVmss
New-AzVmss
Creation of Vmss without any Image or SecurityType values provided will default to turn Trusted Launch on.
$result = New-AzVmss -ResourceGroupName $rgname -Credential $vmCred -VMScaleSetName $vmssName1 -DomainNameLabel $domainNameLabel ;
$result = New-AzVmss -ResourceGroupName $rgname -Credential $vmCred -VMScaleSetName $vmssName1 -ImageName $imageName -DomainNameLabel $domainNameLabel -SecurityType "Standard";
Fixed typos in these output properties: 'PreviouState' 'PreviouStateDetailStatus' 'PreviouStateExitCode' 'PreviouStateFinishTime' 'PreviouStateStartTime'. The impacted cmdlets are: 'Get-AzContainerGroup', 'Remove-AzContainerGroup', 'Restart-AzContainerGroup', 'Start-AzContainerGroup', 'Stop-AzContainerGroup', 'Update-AzContainerGroup', 'New-AzContainerInstanceObject', 'New-AzContainerInstanceInitDefinitionObject'
$aci = Get-AzContainerGroup -ResourceGroupName 'rg name' -Name 'aci name'
$previousState = $aci.Property.Container.PreviouState
$aci = Get-AzContainerGroup -ResourceGroupName 'rg name' -Name 'aci name'
$previousState = $aci.Property.Container.PreviousState
The allowed value of this parameter changed from 'BYODesktop, Personal, Pooled' to 'Pooled'
This cmdlet will redact the application settings of the returned function apps and only the keys will be shown while previously it returned both keys and values.
Get-AzFunctionApp -Name <AppName> -ResourceGroupName <ResourceGroupName>
Name Value
---- -----
FUNCTIONS_EXTENSION_VERSION ~4
WEBSITE_CONTENTAZUREFILECONNE… <connection string>
AzureWebJobsStorage <connection string>
APPLICATIONINSIGHTS_CONNECTIO… <connection string>
APPINSIGHTS_INSTRUMENTATIONKEY <guid>
FUNCTIONS_WORKER_RUNTIME powershell
WEBSITE_CONTENTSHARE <share name>
Get-AzFunctionApp -Name <AppName> -ResourceGroupName <ResourceGroupName>
WARNING: App settings have been redacted. Use the Get-AzFunctionAppSetting cmdlet to view them.
Name Value
---- -----
FUNCTIONS_EXTENSION_VERSION
WEBSITE_CONTENTAZUREFILECONNE…
AzureWebJobsStorage
APPLICATIONINSIGHTS_CONNECTIO…
APPINSIGHTS_INSTRUMENTATIONKEY
FUNCTIONS_WORKER_RUNTIME
WEBSITE_CONTENTSHARE
This cmdlet will only return the updated application settings while previously all of them returned.
Update-AzFunctionAppSetting -Name <AppName> -ResourceGroupName <ResourceGroupName> -AppSetting @{"foo3"="bar3"}
Name Value
---- -----
FUNCTIONS_EXTENSION_VERSION ~4
WEBSITE_CONTENTAZUREFILECONNE… <connection string>
foo3 bar3
AzureWebJobsStorage <connection string>
APPLICATIONINSIGHTS_CONNECTIO… <connection string>
APPINSIGHTS_INSTRUMENTATIONKEY <guid>
FUNCTIONS_WORKER_RUNTIME powershell
WEBSITE_CONTENTSHARE <share name>
Update-AzFunctionAppSetting -Name <AppName> -ResourceGroupName <ResourceGroupName> -AppSetting @{"foo3"="bar3"}
Name Value
---- -----
foo3 bar3
parameter SoftDeleteRetentionInDays
in New-AzKeyVaultManagedHsm
is becoming mandatory
New-AzKeyVaultManagedHsm -HsmName $hsmName -ResourceGroupName $rgName -Location $hsmLocation -Administrator $adminId
New-AzKeyVaultManagedHsm -HsmName $hsmName -ResourceGroupName $rgName -Location $hsmLocation -Administrator $adminId -SoftDeleteRetentionInDays 7
The cmdlet 'Set-AzDataCollectionRule' has been removed and no alias was found for the original cmdlet name.
Set-AzDataCollectionRule -Location 'East US 2 EUAP' `
-ResourceGroupName 'testdcr' `
-RuleName 'newDcr' `
-RuleFile 'C:\samples\dcr1.json' `
-Description 'Updated Description'
Update-AzDataCollectionRule -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>]
[-DataCollectionEndpointId <String>] [-DataFlow <IDataFlow[]>]
[-DataSourceDataImportEventHubConsumerGroup <String>] [-DataSourceDataImportEventHubName <String>]
[-DataSourceDataImportEventHubStream <String>] [-DataSourceExtension <IExtensionDataSource[]>]
[-DataSourceIisLog <IIisLogsDataSource[]>] [-DataSourceLogFile <ILogFilesDataSource[]>]
[-DataSourcePerformanceCounter <IPerfCounterDataSource[]>]
[-DataSourcePlatformTelemetry <IPlatformTelemetryDataSource[]>]
[-DataSourcePrometheusForwarder <IPrometheusForwarderDataSource[]>] [-DataSourceSyslog <ISyslogDataSource[]>]
[-DataSourceWindowsEventLog <IWindowsEventLogDataSource[]>]
[-DataSourceWindowsFirewallLog <IWindowsFirewallLogsDataSource[]>] [-Description <String>]
[-DestinationAzureMonitorMetricName <String>] [-DestinationEventHub <IEventHubDestination[]>]
[-DestinationEventHubsDirect <IEventHubDirectDestination[]>]
[-DestinationLogAnalytic <ILogAnalyticsDestination[]>]
[-DestinationMonitoringAccount <IMonitoringAccountDestination[]>]
[-DestinationStorageAccount <IStorageBlobDestination[]>]
[-DestinationStorageBlobsDirect <IStorageBlobDestination[]>]
[-DestinationStorageTablesDirect <IStorageTableDestination[]>] [-IdentityType <String>] [-Kind <String>]
[-Location <String>] [-StreamDeclaration <Hashtable>] [-Tag <Hashtable>] [-UserAssignedIdentity <Hashtable>]
[-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
The cmdlet 'Get-AzDataCollectionRule' no longer has output type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource'. The cmdlet 'Get-AzDataCollectionRule' no longer supports the alias 'AzureRmContext' for parameter 'DefaultProfile'. The cmdlet 'Get-AzDataCollectionRule' no longer supports the alias 'AzContext' for parameter 'DefaultProfile'. The cmdlet 'Get-AzDataCollectionRule' no longer supports the type 'Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer' for parameter 'DefaultProfile'.
Description : DCR description
DataSources : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDataSources
Destinations : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDestinations
DataFlows : {Microsoft.Azure.Commands.Insights.OutputClasses.PSDataFlow}
ProvisioningState : Succeeded
Etag : "{etag}"
Id : /subscriptions/{subId}/resourceGroups/testgroup/providers/Microsoft.Insights/dataCollectionRules/testDcr
Name : testDcr
Type : Microsoft.Insights/dataCollectionRules
Location : East US 2 EUAP
Tags : {[tag2, value2], [tag1, value1]}
DataCollectionEndpointId :
DataFlow : {{
"streams": [ "Microsoft-InsightsMetrics" ],
"destinations": [ "azureMonitorMetrics-default" ]
}}
DataSourceDataImportEventHubConsumerGroup :
DataSourceDataImportEventHubName :
DataSourceDataImportEventHubStream :
DataSourceExtension :
DataSourceIisLog :
DataSourceLogFile :
DataSourcePerformanceCounter : {{
"streams": [ "Microsoft-InsightsMetrics" ],
"samplingFrequencyInSeconds": 60,
"counterSpecifiers": [ "\\Processor(_Total)\\% Processor Time" ],
"name": "perfCounter01"
}, {
"streams": [ "Microsoft-Perf" ],
"samplingFrequencyInSeconds": 15,
"counterSpecifiers": [ "\\Processor(_Total)\\% Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes",
"\\PhysicalDisk(_Total)\\Avg. Disk Queue Length" ],
"name": "cloudTeamCoreCounters"
}}
DataSourcePlatformTelemetry :
DataSourcePrometheusForwarder :
DataSourceSyslog :
DataSourceWindowsEventLog :
DataSourceWindowsFirewallLog :
Description :
DestinationAzureMonitorMetricName : azureMonitorMetrics-default
DestinationEventHub :
DestinationEventHubsDirect :
DestinationLogAnalytic :
DestinationMonitoringAccount :
DestinationStorageAccount :
DestinationStorageBlobsDirect :
DestinationStorageTablesDirect :
Etag : "bb02d25d-0000-0100-0000-65017aed0000"
Id : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/AMCS-TEST/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule1
IdentityPrincipalId :
IdentityTenantId :
IdentityType :
IdentityUserAssignedIdentity : {
}
ImmutableId : dcr-2eebbe7e7a974226b2ef938194ada574
Kind :
Location : eastus
MetadataProvisionedBy :
MetadataProvisionedByResourceId :
Name : myCollectionRule1
ProvisioningState : Succeeded
ResourceGroupName : AMCS-TEST
StreamDeclaration : {
}
SystemDataCreatedAt : 9/13/2023 9:03:39 AM
SystemDataCreatedBy : v-jiaji@microsoft.com
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 9/13/2023 9:03:39 AM
SystemDataLastModifiedBy : v-jiaji@microsoft.com
SystemDataLastModifiedByType : User
Tag : {
}
Type : Microsoft.Insights/dataCollectionRules
The cmdlet 'New-AzDataCollectionRule' no longer has output type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource' The cmdlet 'New-AzDataCollectionRule' no longer has output type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource'. The cmdlet 'New-AzDataCollectionRule' no longer supports the type 'Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer' for parameter 'DefaultProfile'. The cmdlet 'New-AzDataCollectionRule' no longer supports the alias 'AzContext' for parameter 'DefaultProfile'. The cmdlet 'New-AzDataCollectionRule' no longer supports the alias 'AzureRmContext' for parameter 'DefaultProfile'.
Description : DCR description
DataSources : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDataSources
Destinations : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDestinations
DataFlows : {Microsoft.Azure.Commands.Insights.OutputClasses.PSDataFlow}
ProvisioningState : Succeeded
Etag : "{etag}"
Id : /subscriptions/{subId}/resourceGroups/testgroup/providers/Microsoft.Insights/dataCollectionRules/testDcr
Name : testDcr
Type : Microsoft.Insights/dataCollectionRules
Location : East US 2 EUAP
Tags : {[tag2, value2], [tag1, value1]}
DataCollectionEndpointId :
DataFlow : {{
"streams": [ "Microsoft-InsightsMetrics" ],
"destinations": [ "azureMonitorMetrics-default" ]
}}
DataSourceDataImportEventHubConsumerGroup :
DataSourceDataImportEventHubName :
DataSourceDataImportEventHubStream :
DataSourceExtension :
DataSourceIisLog :
DataSourceLogFile :
DataSourcePerformanceCounter : {{
"streams": [ "Microsoft-InsightsMetrics" ],
"samplingFrequencyInSeconds": 60,
"counterSpecifiers": [ "\\Processor(_Total)\\% Processor Time" ],
"name": "perfCounter01"
}, {
"streams": [ "Microsoft-Perf" ],
"samplingFrequencyInSeconds": 15,
"counterSpecifiers": [ "\\Processor(_Total)\\% Processor Time", "\\Memory\\Committed Bytes", "\\LogicalDisk(_Total)\\Free Megabytes",
"\\PhysicalDisk(_Total)\\Avg. Disk Queue Length" ],
"name": "cloudTeamCoreCounters"
}}
DataSourcePlatformTelemetry :
DataSourcePrometheusForwarder :
DataSourceSyslog :
DataSourceWindowsEventLog :
DataSourceWindowsFirewallLog :
Description :
DestinationAzureMonitorMetricName : azureMonitorMetrics-default
DestinationEventHub :
DestinationEventHubsDirect :
DestinationLogAnalytic :
DestinationMonitoringAccount :
DestinationStorageAccount :
DestinationStorageBlobsDirect :
DestinationStorageTablesDirect :
Etag : "bb02d25d-0000-0100-0000-65017aed0000"
Id : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/AMCS-TEST/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule1
IdentityPrincipalId :
IdentityTenantId :
IdentityType :
IdentityUserAssignedIdentity : {
}
ImmutableId : dcr-2eebbe7e7a974226b2ef938194ada574
Kind :
Location : eastus
MetadataProvisionedBy :
MetadataProvisionedByResourceId :
Name : myCollectionRule1
ProvisioningState : Succeeded
ResourceGroupName : AMCS-TEST
StreamDeclaration : {
}
SystemDataCreatedAt : 9/13/2023 9:03:39 AM
SystemDataCreatedBy : v-jiaji@microsoft.com
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 9/13/2023 9:03:39 AM
SystemDataLastModifiedBy : v-jiaji@microsoft.com
SystemDataLastModifiedByType : User
Tag : {
}
Type : Microsoft.Insights/dataCollectionRules
The cmdlet 'Get-AzDataCollectionRuleAssociation' no longer supports the type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource' for parameter 'InputObject'.". The cmdlet 'Get-AzDataCollectionRuleAssociation' no longer supports the type 'Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer' for parameter 'DefaultProfile'.".
Description :
DataCollectionRuleId : /subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.I
nsights/dataCollectionRules/{dcrName}
ProvisioningState :
Etag : "{etag}"
Id : /subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.C
ompute/virtualMachines/{vmName}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{assocName}
Name : {assocName}
Type : Microsoft.Insights/dataCollectionRuleAssociations
DataCollectionEndpointId :
DataCollectionRuleId : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/AMCS-TEST/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule2
Description :
Etag : "20017ecf-0000-0100-0000-651147350000"
Id : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/amcs-test/providers/microsoft.compute/virtualmachines/monitortestvm01/providers/Microsof
t.Insights/dataCollectionRuleAssociations/myCollectionRule2-association1
MetadataProvisionedBy :
MetadataProvisionedByResourceId :
Name : myCollectionRule2-association1
ProvisioningState :
ResourceGroupName : amcs-test
SystemDataCreatedAt : 9/25/2023 8:39:15 AM
SystemDataCreatedBy : v-jiaji@microsoft.com
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 9/25/2023 8:39:15 AM
SystemDataLastModifiedBy : v-jiaji@microsoft.com
SystemDataLastModifiedByType : User
Type : Microsoft.Insights/dataCollectionRuleAssociations
The cmdlet 'New-AzDataCollectionRuleAssociation' no longer supports the parameter 'InputObject' and no alias was found for the original parameter name. The cmdlet 'New-AzDataCollectionRuleAssociation' no longer supports the type 'Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer' for parameter 'DefaultProfile'. The cmdlet 'New-AzDataCollectionRuleAssociation' no longer supports the alias 'AzContext' for parameter 'DefaultProfile'. The cmdlet 'New-AzDataCollectionRuleAssociation' no longer supports the alias 'AzureRmContext' for parameter 'DefaultProfile'. The parameter set 'ByInputObject' for cmdlet 'New-AzDataCollectionRuleAssociation' has been removed.
$dcr = Get-AzDataCollectionRule -ResourceGroupName $rg -RuleName $dcrName
$vmId = '/subscriptions/{subId}/resourceGroups/{resourcegroup}/providers/Microsoft.Compute/virtualMachines/{vmName}'
$dcr | New-AzDataCollectionRuleAssociation -TargetResourceId $vmId -AssociationName "dcrAssocInput"
New-AzDataCollectionRuleAssociation -AssociationName myCollectionRule2-association1 -ResourceUri /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourcegroups/amcs-test/providers/microsoft.compute/virtualmachines/monitortestvm01 -DataCollectionRuleId /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/AMCS-TEST/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule2
The cmdlet 'Remove-AzDataCollectionRule' no longer supports the type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource' for parameter 'InputObject'. The cmdlet 'Remove-AzDataCollectionRule' no longer supports the type 'Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer' for parameter 'DefaultProfile'. The cmdlet 'Remove-AzDataCollectionRule' no longer supports the alias 'AzContext' for parameter 'DefaultProfile'. The cmdlet 'Remove-AzDataCollectionRule' no longer supports the alias 'AzureRmContext' for parameter 'DefaultProfile'.
Get-AzDataCollectionRule -ResourceGroupName "testdcr" -RuleName "dcrFromPipe95" | Remove-AzDataCollectionRule
Get-AzDataCollectionRule -ResourceGroupName "testdcr" -RuleName "dcrFromPipe95" | Remove-AzDataCollectionRule
The cmdlet 'Remove-AzDataCollectionRuleAssociation' no longer supports the type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleAssociationProxyOnlyResource' for parameter 'InputObject'. The cmdlet 'Remove-AzDataCollectionRuleAssociation' no longer supports the parameter 'AssociationId' and no alias was found for the original parameter name. The cmdlet 'Remove-AzDataCollectionRuleAssociation' no longer supports the type 'Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer' for parameter 'DefaultProfile'. The cmdlet 'Remove-AzDataCollectionRuleAssociation' no longer supports the alias 'AzContext' for parameter 'DefaultProfile'. The cmdlet 'Remove-AzDataCollectionRuleAssociation' no longer supports the alias 'AzureRmContext' for parameter 'DefaultProfile'. The parameter set 'ByResourceId' for cmdlet 'Remove-AzDataCollectionRuleAssociation' has been removed.
$dcrAssoc | Remove-AzDataCollectionRuleAssociation
Remove-AzDataCollectionRuleAssociation -AssociationId $dcrAssoc.Id
$dcrAssoc | Remove-AzDataCollectionRuleAssociation
Remove-AzDataCollectionRuleAssociation -InputObject $dcrAssoc.Id
The cmdlet 'Update-AzDataCollectionRule' no longer has output type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource'. The cmdlet 'Update-AzDataCollectionRule' no longer supports the type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleResource' for parameter 'InputObject'. The cmdlet 'Update-AzDataCollectionRule' no longer supports the type 'Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer' for parameter 'DefaultProfile'. The cmdlet 'Update-AzDataCollectionRule' no longer supports the alias 'AzContext' for parameter 'DefaultProfile'. The cmdlet 'Update-AzDataCollectionRule' no longer supports the alias 'AzureRmContext' for parameter 'DefaultProfile'.
$dcr = Get-AzDataCollectionRule -ResourceGroupName "testdcr" -Name "newDcr"
$dcr | Update-AzDataCollectionRule -Tag @{"tag1"="value1"; "tag2"="value2"}
$dcr = Get-AzDataCollectionRule -ResourceGroupName "testdcr" -Name "newDcr"
$dcr | Update-AzDataCollectionRule -Tag @{"tag1"="value1"; "tag2"="value2"}
The cmdlet 'Get-AzActionGroup' no longer has output type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSActionGroupResource'. The cmdlet 'Get-AzActionGroup' no longer supports the type 'Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer' for parameter 'DefaultProfile'. The cmdlet 'Get-AzActionGroup' no longer supports the alias 'AzContext' for parameter 'DefaultProfile'. The cmdlet 'Get-AzActionGroup' no longer supports the alias 'AzureRmContext' for parameter 'DefaultProfile'.
Get-AzActionGroup -ResourceGroupName "Default-activityLogAlerts" -Name "actionGroup1"
Get-AzActionGroup -ResourceGroupName "Default-activityLogAlerts" -Name "actionGroup1"
ArmRoleReceiver : {}
AutomationRunbookReceiver : {}
AzureAppPushReceiver : {}
AzureFunctionReceiver : {}
EmailReceiver : {}
Enabled : False
EventHubReceiver : {}
GroupShortName : ag1
Id : /subscriptions/{subid}/resourceGroups/Monitor-Action/providers/microsoft.insights/actionGroups/actiongroup1
ItsmReceiver : {}
Location : northcentralus
LogicAppReceiver : {}
Name : actiongroup1
ResourceGroupName : Monitor-Action
SmsReceiver : {}
Tag : {
}
Type : Microsoft.Insights/ActionGroups
VoiceReceiver : {}
WebhookReceiver : {}
The cmdlet 'Remove-AzActionGroup' no longer supports the type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSActionGroupResource' for parameter 'InputObject'. The parameter set 'ByResourceId' for cmdlet 'Remove-AzActionGroup' has been removed. The cmdlet 'Remove-AzActionGroup' no longer supports the parameter 'ResourceId' and no alias was found for the original parameter name. The cmdlet 'Remove-AzActionGroup' no longer has output type 'Microsoft.Azure.AzureOperationResponse'. The cmdlet 'Remove-AzActionGroup' no longer supports the type 'Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer' for parameter 'DefaultProfile'. The cmdlet 'Remove-AzActionGroup' no longer supports the alias 'AzContext' for parameter 'DefaultProfile'. The cmdlet 'Remove-AzActionGroup' no longer supports the alias 'AzureRmContext' for parameter 'DefaultProfile'.
Remove-AzActionGroup -ResourceGroupName "Default-Web-CentralUS" -Name "myActionGroup"
RequestId StatusCode
--------- ----------
2c6c159b-0e73-4a01-a67b-c32c1a0008a3 OK
Remove-AzActionGroup -ResourceGroupName Monitor-Action -Name actiongroup1 --PassThur
True
The cmdlet 'Set-AzActionGroup' has been removed and no alias was found for the original cmdlet name.
$email1 = New-AzActionGroupReceiver -Name 'user1' -EmailReceiver -EmailAddress 'user1@example.com'
$sms1 = New-AzActionGroupReceiver -Name 'user2' -SmsReceiver -CountryCode '1' -PhoneNumber '5555555555'
Set-AzActionGroup -Name $actionGroupName -ResourceGroupName $resourceGroupName -ShortName $shortName -Receiver $email1,$sms1
$email1 = New-AzActionGroupEmailReceiverObject -EmailAddress user@example.com -Name user1
$sms1 = New-AzActionGroupSmsReceiverObject -CountryCode '{countrycode}' -Name user2 -PhoneNumber '{phonenumber}'
New-AzActionGroup -Name 'actiongroup1' -ResourceGroupName 'Monitor-Action' -Location northcentralus -GroupShortName ag1 -EmailReceiver $email1 -SmsReceiver $sms1
The cmdlet 'Test-AzActionGroup' no longer supports the type 'System.Collections.Generic.List`1[Microsoft.Azure.Commands.Insights.OutputClasses.PSActionGroupReceiverBase]' for parameter 'Receiver'. The cmdlet 'Test-AzActionGroup' no longer has output type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSTestNotificationDetailsResponse'. The parameter set 'ByPropertyName' for cmdlet 'Test-AzActionGroup' is no longer the default parameter set. The cmdlet 'Test-AzActionGroup' no longer supports the type 'Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer' for parameter 'DefaultProfile'. The cmdlet 'Test-AzActionGroup' no longer supports the alias 'AzContext' for parameter 'DefaultProfile'. The cmdlet 'Test-AzActionGroup' no longer supports the alias 'AzureRmContext' for parameter 'DefaultProfile'. The parameter set 'ByPropertyName' for cmdlet 'Test-AzActionGroup' has been removed.
$email = New-AzActionGroupReceiver -Name 'user1' -EmailReceiver -EmailAddress 'test@test.example.com'
Test-AzActionGroup -AlertType servicehealth -Receiver $email -ResourceGroupName "test-RG" -ActionGroupName "test-AG"
$sms1 = New-AzActionGroupSmsReceiverObject -CountryCode 86 -Name user1 -PhoneNumber 'phonenumber'
$email2 = New-AzActionGroupEmailReceiverObject -EmailAddress user@example.com -Name user2
Test-AzActionGroup -ActionGroupName actiongroup1 -ResourceGroupName monitor-action -AlertType servicehealth -Receiver $email2,$sms1
ActionDetail : {{
"MechanismType": "Email",
"Name": "user2",
"Status": "Succeeded",
"SubState": "Default",
"SendTime": "2023-11-08T05:16:09.6280455+00:00"
}, {
"MechanismType": "Sms",
"Name": "user1",
"Status": "Succeeded",
"SubState": "Default",
"SendTime": "2023-11-08T05:16:09.642967+00:00"
}}
CompletedTime : 2023-11-08T05:18:10.6755827+00:00
ContextNotificationSource : Microsoft.Insights/TestNotification
ContextType : Microsoft.Insights/ServiceHealth
CreatedTime : 2023-11-08T05:16:00.7951739+00:00
State : Complete
The cmdlet 'New-AzActionGroupReceiver' has been removed and no alias was found for the original cmdlet name.
$emailReceiver = New-AzActionGroupReceiver -Name 'emailReceiver1' -EmailReceiver -EmailAddress 'user1@example.com'
$emailReceiver = New-AzActionGroupEmailReceiverObject -EmailAddress user@example.com -Name user1
"Geo" is no longwe a valid input for parameter VariableName
in NewAzureApplicationGatewayFirewallCustomRuleGroupByVariable
The cmdlet 'Remove-AzPowerBIWorkspaceCollection' has been removed as Workspace Collection is no longer supported
The cmdlet 'Get-AzPowerBIWorkspaceCollection' has been removed as Workspace Collection is no longer supported
The cmdlet Get-AzPowerBIWorkspaceCollectionAccessKey' has been removed as Workspace Collection is no longer supported
The cmdlet 'Get-AzPowerBIWorkspace' has been removed as Workspace Collection is no longer supported
The cmdlet 'New-AzPowerBIWorkspaceCollection' has been removed as Workspace Collection is no longer supported
The cmdlet 'Reset-AzPowerBIWorkspaceCollectionAccessKey' has been removed as Workspace Collection is no longer supported
Permissions in the ouput access policy is changed to a string like "raup"
The leading question mark '?' of the created SAS token is removed
The leading question mark '?' of the created SAS token is removed
The leading question mark '?' of the created SAS token is removed
The leading question mark '?' of the created SAS token is removed
The leading question mark '?' of the created SAS token is removed
The leading question mark '?' of the created SAS token is removed
The leading question mark '?' of the created SAS token is removed
Permissions in the ouput access policy is changed to a string like "raup"
Azure PowerShell feedback
Azure PowerShell is an open source project. Select a link to provide feedback:
Training
Module
Create and manage workspaces in Power BI - Training
Learn how to navigate the Power BI service, create and manage workspaces and related items, and distribute reports to users.