I assume you are replace [your-automation-account-name] with your actual automation account name? Assuming you are, check that you have selected the correct subscription using the Select-AzSubscription command.
Automation Account
I want help. this error is showing still in the Azure powershell . when i type this command
Import-AzAutomationDscConfiguration -Published
-ResourceGroupName learn-31475da3-ded3-458f-89ea-911d53361f01 -SourcePath $HOME/MyDscConfiguration.ps1
-Force `
-AutomationAccountName [your-automation-account-name]
this error is showing :
Import-AzAutomationDscConfiguration: The Automation account was not found.
I want like this ouput :
ResourceGroupName : learn-31475da3-ded3-458f-89ea-911d53361f01
AutomationAccountName : [your-automation-account-name]
Location : eastus
State : Published
Name : MyDscConfiguration
Tags : {}
CreationTime : 6/25/21 5:44:36 PM +00:00
LastModifiedTime : 6/25/21 5:44:36 PM +00:00
Description :
Parameters : {}
LogVerbose : False