You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Could not retrieve principal object "2b4b36c1-xxx"
│
│ with azuread_group_member.members["xx/2b4b36c1-xxx"],
│ on main.tf line 7, in resource "azuread_group_member" "members":
│ 7: resource "azuread_group_member" "members" {
│
│ DirectoryObjects.BaseClient.Get(): unexpected status 404 with OData error:
│ Request_ResourceNotFound: Resource '2b4b36c1-xx'
│ does not exist or one of its queried reference-property objects are not
│ present.
Steps to Reproduce
terraform apply
We ensured that we're using Application (client) ID.
The text was updated successfully, but these errors were encountered:
@4865783a5d Thanks for raising this issue. Applications are not security principals and cannot be added to groups - it is the linked service principal which can be assigned group membership.
We use GitHub issues for tracking feature requests and bugs in the Azure provider, and to maintain focus on that we instead ask that usage questions are raised via our Community Resources. Accordingly I'm going to close this issue, but I believe you should be able to get further assistance on the community discussion portal.
Community Note
Terraform (and AzureAD Provider) Version
Affected Resource(s)
azuread_group_member
azuread_application
Terraform Configuration Files
Expected Behavior
App Registration principal added as group member
Actual Behavior
Steps to Reproduce
terraform apply
We ensured that we're using
Application (client) ID
.The text was updated successfully, but these errors were encountered: