-
Notifications
You must be signed in to change notification settings - Fork 229
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
[CoE Starter Kit - BUG] Admin | Sync Template v4 (Security Roles) Error on "List SystemUser Record" #8244
Comments
Can you please check in Entra if these use cases are disabled there? I ask as Envts also have their own concept of enabled so wondering what your case is. |
oh interesting. In that case we arent querying for users at all, I think it might be referencing the user identity running the flow. Which would correlate to the Forbidden message better. Can you please :
|
Unfortunately you need to have System Admin permission in the environment in order for our kit to be used to gather inventory. In the past this requirement was not as obvious to people as the presence in the PPAdmin Role assigned the permission automatically. However this behavior is changing (feature in preview) and so that's why I asked as we will be adding tooling to add the PPAdmin to this role automatically going forward, once the connector is supported in all regions. Please see #8119 |
Thanks for the suggestion. I did go test this after your note and found that the technique offered by the product team to escalate privaledge does work even if the user is not in the SG. Please see the workaround solution file in #8119 |
Are you running the flow as someone who is directly and permanently part of the Power Platform Admin Role? |
No and yes - the role was assigned through a group, but it's permanent and without PIM.
A Global admin has now changed it to a direct assignment with the following result
*
The PIM Flow still had 2 errors, but NOT for the respective environment
*
the Sync Template v4 (Security Role) Flow now ran succesfully when resubmitting the faulty runs
Thanks for solving the issue!
Best regards
Ihno
|
Hello can you please help me understand. So you had to set the PPAdmin to be direct, not through a group. And with that the issue with the SG went away? |
Really appreciate your response. This is a new feature and so we are still working to understand the limitations it has. |
closing out as no further action for starter kit team |
Does this bug already exist in our backlog?
Describe the issue
This error comes up for 2 users in 2 environments.
![image](https://private-user-images.githubusercontent.com/83971745/329488190-7adce6e4-f037-4814-aef4-12d36bbe24cb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTc4MDEsIm5iZiI6MTczOTE1NzUwMSwicGF0aCI6Ii84Mzk3MTc0NS8zMjk0ODgxOTAtN2FkY2U2ZTQtZjAzNy00ODE0LWFlZjQtMTJkMzZiYmUyNGNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDAzMTgyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU1ZDg1YWUyMjhkYTMyOTUyM2MwZGZkN2Y1ZTE2YzQ4NjE1YzlmMWZkZGFkNWExZjY1ZDZiZDc1YWQxMzM2MWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HeJh-Gud3DjID6qdQ_tri7VX6HJzmWud7qPraRJZpgo)
It seems to me as if disables users should be excluded in an earlier step of the flow.
Expected Behavior
No error
What solution are you experiencing the issue with?
Core
What solution version are you using?
4.29
What app or flow are you having the issue with?
Admin | Sync Template v4 (Security Roles)
What method are you using to get inventory and telemetry?
None
Steps To Reproduce
Activate Flow
Receive COE Error notification by email
Anything else?
No response
AB#3214
The text was updated successfully, but these errors were encountered: