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

docs: update import statement for app_role_assignment #1568

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tberreis
Copy link

This small PR updates the import statement for the azuread_app_role_assignment.
I noted a change when recently using it.

Error: parsing "d00*****-****-****-****-*****39b503c/appRoleAssignment/Jno_******************************NWf5jBrA4": parsing the ServicePrincipalIdAppRoleAssignedTo ID: the number of segments didn't match
│ 
│ Expected a ServicePrincipalIdAppRoleAssignedTo ID that matched (containing 4 segments):
│ 
│ > /servicePrincipals/servicePrincipalId/appRoleAssignedTo/appRoleAssignmentId
│ 
│ However this value was provided (which was parsed into 0 segments):
│ 
│ > d00*****-****-****-****-*****39b503c/appRoleAssignment/Jno_******************************NWf5jBrA4
│ 
│ The following Segments are expected:
│ 
│ * Segment 0 - this should be the literal value "servicePrincipals"
│ * Segment 1 - this should be the user specified value for this servicePrincipalId [for example "servicePrincipalId"]
│ * Segment 2 - this should be the literal value "appRoleAssignedTo"
│ * Segment 3 - this should be the user specified value for this appRoleAssignmentId [for example "appRoleAssignmentId"]
│ 
│ The following Segments were parsed:
│ 
│ * Segment 0 - not found
│ * Segment 1 - not found
│ * Segment 2 - not found
│ * Segment 3 - not found

@ilmax
Copy link

ilmax commented Nov 20, 2024

for these non obvious resources, it would be nice to also have the az cli command to get the required IDs to run the import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants