Skip to content

Run in Docker

Vincent Biret edited this page Jun 28, 2022 · 2 revisions

Our docker images ship with Microsoft Graph PowerShell preinstalled. This article shows how to get started using Microsoft Graph PowerShell in a Docker container.

Using Microsoft Graph PowerShell in a container

  1. Download the latest Microsoft Graph PowerShell image.
    docker pull mcr.microsoft.com/microsoftgraph/powershell
  2. Run the Microsoft Graph PowerShell container in interactive mode.
    docker run -it mcr.microsoft.com/microsoftgraph/powershell

Remove image when no longer needed

docker rmi mcr.microsoft.com/microsoftgraph/powershell

Next Steps

See Get Started with Microsoft Graph PowerShell.