Hi @Alexander Gehling ,
Thanks for reaching out.
From your query, I understood that you are getting error as user do not have granted to access the application.
This can be because of the user/group has not been granted access to the application in Azure AD. The group you are member of need to assign to the application using Enterprise Applications.
You need to have Global Administrator, Cloud Application Administrator, Application Administrator, or owner of the service principal role to assign access to the application.
If you have the "Assignment required" box checked within your Enterprise application, then users must be assigned to the application before being able to access it.
If this option is set to no, then any users who navigate to the application URL directly will be granted access.
From Enterprise Applications, select the application to which you want to assign the group you are member of.
Assign the group to which signed in user is member of. Note that nested groups are not supported, and the group must be directly assigned to the application.
Hope this will help to allow all the members of the group to access the application.
Thanks,
Shweta
----------------------------------------
Please remember to "Accept Answer" if answer helped you.