mozziemozz / M365CallFlowVisualizer

Reads a config from Microsoft 365 Phone System and renders them visually into a mermaid-js flowchart.
MIT License
91 stars 25 forks source link

What are the minimum Graph permissions required to run this script? #26

Closed dinocaputo closed 2 years ago

dinocaputo commented 2 years ago

I have Teams Service Admin but when attempting to run this script I receive a Graph Permissions error. image

mozziemozz commented 2 years ago

Hi @dinocaputo "User.Read.All","Group.Read.All" are needed. This is because not all info, such as Group Display Names can't be read from MicrosofrTeams PowerShell alone. Please ask your Tenant Admin to enable Graph PowerShell if it has never been used in your Tenant before. I migrated from the MicrosoftOnline to Graph PowerShell because Msol will be deprecated end of August 2022.