We are configuring an azure app registration through a service account and believe that we have the correct permissions for the service account yet when the logic app is run an error is thrown when pulling groups from O365 for not having the correct permissions.
enterprise service account access
error within the logic app designer
"error": {
"code": "Authorization_RequestDenied",
"message": "Insufficient privileges to complete the operation.",
These are the current app registration api permissions we have and all are consented by the administrator
We are also have ensured that this service account has: -app registration owner role -administrator roles -subscription owner -the only conditional access policy is no logons after 8pm which we believe shouldn't have affected this