Powershell Script to Get Agent information from M365

I love this script because it shows me all the copilot agents, who has access, who they have been shared with, etc. It is interactive login, so if you wanted to automate it, you would need to swtich that. (I may create a new version later, but this works for my needs.

Use the below link to get to the script. https://github.com/LoneStarCoder/PowerScriptsRepo/blob/main/M365/Get-CopilotPackageRegistry.ps1

image