Is there an existing issue?
Description
Errors like the one included below can occur when the user following the app registration setup instructions do not have user admin permissions on the default environment. There is a workaround, which is to run 'pac auth' against an environment that is not the default environment, but as the instructions stand, this is a real hurdle for users trying to set up the accelerator.
Error: Principal user (Id=<>, type=8, roleCount=<>, privilegeCount=<>, accessMode='', AADObjectId='', MetadataCachePrivilegesCount=, businessUnitId=<>), is missing prvCreateUser privilege (Id=<>) on OTC=8 for entity 'systemuser' (LocalizedName='User'). context.Caller=<>. Consider adding missed privilege to one of the principal (user/team) roles.
Steps to Reproduce
Expected Behavior
Run pac admin create-service-principal without errors.
Anything else?
No response
Is there an existing issue?
Description
Errors like the one included below can occur when the user following the app registration setup instructions do not have user admin permissions on the default environment. There is a workaround, which is to run 'pac auth' against an environment that is not the default environment, but as the instructions stand, this is a real hurdle for users trying to set up the accelerator.
Error: Principal user (Id=<>, type=8, roleCount=<>, privilegeCount=<>, accessMode='', AADObjectId='', MetadataCachePrivilegesCount=, businessUnitId=<>), is missing prvCreateUser privilege (Id=<>) on OTC=8 for entity 'systemuser' (LocalizedName='User'). context.Caller=<>. Consider adding missed privilege to one of the principal (user/team) roles.Steps to Reproduce
Expected Behavior
Run pac admin create-service-principal without errors.
Anything else?
No response