question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Microsoft.Network/applicationGateways don't support SystemAssigned identity

See original GitHub issue

The ARM template reference schema documentation and in this GitHub have information stating that application gateway supports ‘systemAssigned’ & ‘systemAssigned, userAssigned’ identity enums when in fact it will throw an ARM template validation error stating that Resource type ‘Microsoft.Network/applicationGateways’ does not support creation of ‘SystemAssigned’ resource identity. The supported types are ‘UserAssigned’. This goes all the way back through the every API version as far as I can tell.

Raw Error:

{
  "telemetryId": "e82a70bf-4d83-4c98-82da-ca76e6efef51",
  "bladeInstanceId": "Blade_0d3945635d134b24b3518f1dd69770c4_54_0",
  "galleryItemId": "Microsoft.Template",
  "createBlade": "DeployToAzure",
  "code": "CannotSetResourceIdentity",
  "message": "Resource type 'Microsoft.Network/applicationGateways' does not support creation of 'SystemAssigned' resource identity. The supported types are 'UserAssigned'."
}

Incorrect Documentation/Schemas: https://docs.microsoft.com/en-us/azure/templates/microsoft.network/2019-11-01/applicationgateways#managedserviceidentity-object https://github.com/Azure/azure-resource-manager-schemas/blob/master/schemas/2019-11-01/Microsoft.Network.json#L10190 https://github.com/Azure/azure-resource-manager-schemas/blob/master/schemas/2019-11-01/Microsoft.Network.json#L10192 https://github.com/Azure/azure-resource-manager-schemas/blob/master/schemas/2019-11-01/Microsoft.Network.json#L10195

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
anthony-c-martincommented, Nov 2, 2021
0reactions
aholler2commented, Mar 3, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently asked questions about Azure Application Gateway
What features does Application Gateway support? Application Gateway supports autoscaling, TLS offloading, and end-to-end TLS, a web application firewall (WAF), ...
Read more >
Manage traffic to App Service - Azure Application Gateway
This article provides guidance on how to configure Application Gateway with Azure App Service.
Read more >
Use managed identities in Azure API Management
Learn how to create system-assigned and user-assigned identities in API Management by using the Azure portal, PowerShell, and a Resource ...
Read more >
Azure Application Gateway infrastructure configuration
This article describes how to configure the Azure Application Gateway infrastructure.
Read more >
az network application-gateway identity - Microsoft Learn
Manage the managed service identity of an application gateway. In this article. Commands; az network application-gateway identity assign; az network application ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found