Principals of type Application cannot validly be used in role assignments
While running my terraform code I ran into this issue. It is really good to know that it is important to differentiate between id used for authentication vs auhtorization. Application Object in Application Registration is used authentication. Enterprise application object id is used for authorizations.
In short, using the wrong id when doing role assignment. When doing role assignment, ensure that you're using Enterprise Application Object Id as shown here.
Comments