Closed harbinger85585 closed 1 year ago
Hello,
the permission thing was my fault, forgot to add "Group.Read.All" to the requirements because of the Group Based License check. You could try to remove "Directory.ReadAll".
I added the Tls1.2 part into the script :)
Hi,
Thanks for adding the TLS part. I've added the Group.Read.All permissions to the App, removed the Directory.Read.All and can confirm that it's working. I think this closes the issue.
Thank you for the great M365 licensing script. Since a few days it wasn't working anymore for us, I had to enforce TLS1.2 with the following command at the beginning of the script:
Also the check for groups with assignments wasn't working anymore, I've had to assign the application permission Directory.ReadAll to the AAD App so the query would work again.