Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 890 Bytes

File metadata and controls

35 lines (22 loc) · 890 Bytes

Overview

This repo contains a sample linux docker image for Microsoft.PowerApps.Administration.PowerShell with Azure Active Directoy device code authentication. This is not a complete implementation and would require further testing and updates to support authentication for different Power Platform resources.

Getting Started

  1. Build the docker image
docker build -t sample-microsoft.powerppps.administration.ps .
  1. Run the image
docker run -it sample-microsoft.powerppps.administration.ps
  1. Import the module
Import-Module Microsoft.PowerApps.Administration.PowerShell
  1. Run a Administration command e.g.
Get-TenantSettings
  1. Login using device code

More Information

This sample uses the Microsoft.Identity.Client .Net Standard library to login and create OAuth AccessToken with the required resources.