Closed smedegaard closed 1 week ago
Hi @smedegaard ,
Thank you for taking time to report this issue and apologize for late response.
The identity_ids
field is used to specify the user assigned identity associated with the resource, so it's not allowed to use principal ID here.
Would you please share a document about the feature that you want to use? I could help you make an azapi example.
I'll close this issue as there's no response. Feel free to reopen it if there's any questions.
I have a
azurerm_logic_app_workflow
block that uses a system assigned service principal.and an api connection to SharePoint
When running
terraform plan
I getThe id is passed correctly from the first block to the connection block. After searching the web for way too long, I saw a mention about the format needs to be something like
"/subscriptions/${data.azurerm_subscription.current.subscription_id}/resourceGroups/${azurerm_resource_group.rg.name}/providers/microsoft.managedidentity/UserAssignedIdentities/${name_of_managed_identity}"
. I've had no luck with that either.It would be a lot more intuitive if we were able to pass the principal id in
identity_ids