
RobertC.24968 (CARE Inc.) asked a question.
We've created some Okta groups to assign Administrator roles in Office 365, for example "Role - Security Admin" applies the User Administrator, Helpdesk Administrator, and Security Administrator roles, while "Role - Power BI Admin" applies User Administrator, Groups Administrator, and Power BI Administrator roles.
Every user that is assigned to one of these groups has the application push task fail, with the error:
An error occurred while provisioning O365
Automatic profile push of user <Display Name> to app Microsoft Office 365 failed: Could not push profile for Office 365 user <UserPrincipalName>, received error: Resource '<Azure AD Role Template GUID>' does not exist or one of its queried reference-property objects are not present. Please fix this on the Tasks Page
I have confirmed that each of the failed Template IDs in the error messages matches the ID for that Administrator role in our Azure AD environment.

TThank you for reaching Okta Support. My name is Jose Sandoval and I will help you with this.
Following the issue, there are a few things that we can test on the task error.
As soon as we have completed that please go back to the users and retry the task. If this keeps failing please consider:
As additional steps, if all the users in the group have the same role go back to O365 > Assignments > Groups:
In case these the issue keep happening after the steps shared feel free to reach out to the Okta support line to coordinate a troubleshooting session.