When adding an user to a directory role using Office 365 portal, the Azure AD logs reports the actual directory RoleTemplateId as the Target Role object Id. Is this expected ? Please refer to the attachment
When adding user to a directory role using the Azure AD Portal, the Azure AD logs reports the actual directory ObjectId as the Target Role Object Id.