Automation Account

Namnika Janbandhu 21 Reputation points
2021-11-06T09:52:59.677+00:00

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

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,114 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sam Cogan 10,157 Reputation points MVP
    2021-11-06T10:08:23.057+00:00

    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful