
I would like to use Power Automate Desktop(PAD) to pull a list of all active SharePoint sites and Teams sites and save it in a CSV file. How would I go about connecting to the Microsoft Teams Admin PowerShell through PAD. I have tried a few ways of running PowerShell scripts in PAD to connect to the Admin PowerShell, but have had no success. I can open Microsoft Teams PowerShell and pull this list manually just fine