Modify Connection module to read from JSON permissions file instead of hard coded values #1391
Labels
enhancement
This issue or pull request will add new or improve existing functionality
Milestone
💡 Summary
Currently the function Connect-Tenant in Connection.psm1 has a hard coded list of MS Graph permissions that it requests as scopes when connecting to the Graph endpoint. Soon there will be a new JSON file named ScubaGear-Permissions.json added to the repo and Connect-Tenant should be modified to dynamically pull the list of permissions from that file instead of the hard coded array.
We should also validate that the list of permissions being requested is current and does not contain any permissions that are no longer necessary due to code changes.
Implementation notes
See a separate comment within this issue for the list of action items.
The text was updated successfully, but these errors were encountered: