Open dunefro opened 2 weeks ago
Its a bug with the new 3.x.x Version...
the id in version 3.x is: /servicePrincipals/servicePrincipalId it should be only : servicePrincipalId
i have a similar error and will post a new issue in a few moments.
~ principal_id = "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx" -> "/groups/xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx" # forces replacement
but wenn you try to replace this, MS Api told you that "/groups" schould not be infront of this id!!!
While trying to create an Azure AD application using the below code
not able to understand what to pass in
service_principal_id
as the documentation says to passazuread_service_principal.example_platform_features_service_principal[0].id
but there is no such attribute asid
present in the azuread_service_principalOur earlier code used to work with
object_id
but that gives error nowCommunity Note
Terraform (and AzureAD Provider) Version:
Affected Resource(s)
azuread_service_principal
azuread_service_principal_password
Expected Behavior
If we are to use
id
then there must be an attribute that is exported and should be present in the docsActual Behavior
An attribute is exported with
id
and a good difference should be known on what to useSteps to Reproduce
terraform apply
with basic example of service principal as given hereReferences