반응형

When troubleshooting in M365, it's common for administrators to use PowerShell for the process.

However, it raises the question of whether this really needs to be done within Copilot Studio. Nonetheless, I decided to write about it since there are tasks that occasionally require PowerShell.

 

This was carried out with reference to the technical documentation below.

PowerShell support for Power Apps and Power Automate - Power Platform | Microsoft Learn

 

https://youtu.be/q3fEnEcXH0k

 

 

The steps were carried out on Windows 11.

Click the Start button -> Right-click -> Select Terminal (Admin).

 

 

Execute the following command:

Install-Module -Name Microsoft.PowerApps.Administration.PowerShell
Install-Module -Name Microsoft.PowerApps.PowerShell -AllowClobber
Set-ExecutionPolicy -ExecutionPolicy Unrestricted

 

 

If the following message appears, enter Y or A.

 

Since Power Apps and Power Automate are different areas, each requires a separate login.

Unlike Exchange Online, there is no need to enter separate connection commands. Simply enter the command you wish to use, and it will prompt you to provide your credentials.

 

Enter the following command to connect to Power Apps:

Get-AdminPowerAppEnvironment

 

 

Enter the following command to connect to Power Automate:

Get-AdminFlow

 

In the future, if a PowerShell connection is needed for Copilot Studio, you can access and utilize it as required.

반응형

+ Recent posts