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

[BUG]: Cleanup Old Objects App when Power Platform Maker SR Role is missing permissions and it pulls orphans even if the person is not a maker #1264

Open
mdphung opened this issue Dec 6, 2023 · 0 comments
Labels
coestarterkit CoE Starter Kit related Issues

Comments

@mdphung
Copy link

mdphung commented Dec 6, 2023

The Maker SR Role had no read or write permissions for the Archive Approval which affected the use of Clean up Old Objects App.

You don't have permission to view this data. Server Response: Archive Approvals failed: Principal user (Id=14510909-8fd9-ed11-a7c7-001dd80702fd, type=8, roleCount=2, privilegeCount=35, accessMode=0, MetadataCachePrivilegesCount=8112, businessUnitId=a1230952-68cc-ed11-b596-001dd804fc9d), is missing prvReadadmin_ArchiveApproval privilege (Id=5dce1ec8-944c-4fe9-9b43-1439efe28ed3) on OTC=10746 for entity 'admin_archiveapproval' (LocalizedName='Archive Approval '). context.Caller=14510909-8fd9-ed11-a7c7-001dd80702fd. Consider adding missed privilege to one of the principal (user/team) roles.

Issue with Power Platform Maker SR role:
image

I added it on this screenshot to fix my issues, but they were removed when i reviewed it.

Another issue: Had an account that does not have a maker record and there is seems to be a query that is passed the makerid so it looks like this specific user gets back all the orphans even if there is no maker record.

@mdphung mdphung added the coestarterkit CoE Starter Kit related Issues label Dec 6, 2023
@mdphung mdphung changed the title [BUG]: [BUG]: Cleanup Old Objects App Archive Approval Access to Power Platform Maker SR Role Dec 6, 2023
@mdphung mdphung changed the title [BUG]: Cleanup Old Objects App Archive Approval Access to Power Platform Maker SR Role [BUG]: Cleanup Old Objects App when Power Platform Maker SR Role is missing permissions and it pulls orphans even if the person is not a maker Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coestarterkit CoE Starter Kit related Issues
Projects
None yet
Development

No branches or pull requests

1 participant