Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI does not support way to create Managed Identity for Logic App (Standard) #30136

Closed
Rich-Lang opened this issue Oct 19, 2024 · 5 comments
Closed
Assignees
Labels
Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Logic App az logic Service Attention This issue is responsible by Azure service team. Similar-Issue

Comments

@Rich-Lang
Copy link

Rich-Lang commented Oct 19, 2024

Related command
The following command allows me to create a Logic App (Standard), but after doing so, I have no way to enable Managed Identity without navigating to the resource in the Azure Portal. I am seeking a way to enable Managed Identity for a Logic App (Standard)
az logicapp create -g myRG --subscription mySubscription -p MyPlan -n myLogicApp -s myStorageAccount

Is your feature request related to a problem? Please describe.
I am attempting to automate the creation of my solution using Azure CLI, but am finding myself unable due to lack of support for Managed Identities for Logic App (Standard). A solution exists for Consumption Based Logic Apps, but not Logic App (Standard).

Describe the solution you'd like
I would like a command such as:
az logicapp identity assign -name MyLogicAppStandard --resource-group MyResourceGroup which enables ManagedIdentity. This would be similar to the Azure FunctionApp equivalent: https://learn.microsoft.com/en-us/cli/azure/functionapp/identity?view=azure-cli-latest#az-functionapp-identity-assign

Describe alternatives you've considered
I have thoroughly explored the possibility to use https://learn.microsoft.com/en-us/cli/azure/logic/workflow/identity?view=azure-cli-latest#az-logic-workflow-identity-assign which came from #15586. This is an Extension which only supports Consumption Logic Apps and does not work for my purpose. My only option has been to manually configure the Managed Identity using the Azure Portal.

Additional context
Image

@yonzhan
Copy link
Collaborator

yonzhan commented Oct 19, 2024

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Logic App az logic labels Oct 19, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Service Attention This issue is responsible by Azure service team. labels Oct 19, 2024
Copy link

Here are some similar issues that might help you. Please check if they can solve your problem.

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @wsilveiranz.

@Rich-Lang
Copy link
Author

Here are some similar issues that might help you. Please check if they can solve your problem.

This only works for Consumption Logic Apps and does not support Logic App (Standard) resources.

@Rich-Lang
Copy link
Author

I've discovered that it's possible to assign a MI for a Logic App (Standard) by using the 'az function' syntax.
So instead of:
az logicapp identity assign -name MyLogicAppStandard --resource-group MyResourceGroup
I use:
az functionapp identity assign -name MyLogicAppStandard --resource-group MyResourceGroup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Logic App az logic Service Attention This issue is responsible by Azure service team. Similar-Issue
Projects
None yet
Development

No branches or pull requests

4 participants