Skip to content

Identity cannot be set to type None on Microsoft.Automation/automationAccounts #16546

Open
@slavizh

Description

@slavizh

Hi
I have tried several different versions of the API but you cannot set the identity to type None when using ARM Template. When you set it to None and when you run the template deployment some error like automation account does not exists is returned and the general error is Bad request. The API works fine if it type is SystemAssigned, UserAssigned or SystemAssigned or UserAssigned

 {
            "name": "[parameters( 'automationAccount' ).name]",
            "type": "Microsoft.Automation/automationAccounts",
            "apiVersion": "2021-06-22",
            "location": "[resourceGroup().location]",
            "tags": "[parameters( 'tags' )]",
            "identity": {
                "type": "None"
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    AutomationService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions