1.6 KiB
Starting from scratch on Windows 11
-
Signed up for Azure Free account at https://portal.azure.com
2. Installed Az PowerShell Module ...
3. Install AzureAD PowerShell Module ...3. Install Microsoft Graph Module ... -
Working with mcr.microsoft.com/microsoftgraph/powershell docker container.
Chose this path after failing to setup my personal local Windows 11 machine with the above libraries, realizing this should have been my first choice.NOTE: All console actions described below are from within the docker container.
All Web UI action were done on my personal machine. I do not describe the process of copying over the file from the container / remote machine into my local-browser machine.# bash command line: docker run --rm -it -v "$PWD/data:/data" \ -v "$PWD/data/.dotnet:/root/.dotnet" \ -v "$PWD/src:/data/src" \ -w "/data" \ mcr.microsoft.com/microsoftgraph/powershell
-
Following this tutorial page I've created the following utility scripts to help with this process:
Create-Cert
-
Create a self-signed certificate and load it into the .NET cert-store (see Load-Cert next).Load-Cert
-
Load certificate files into the local .NET cert-store.Connect-AppCert
-
This will be used to establish a new app connection.