CmdID

CmdID / PowerShell / Cmdlets / Add

Add-MgEnvironment

Adds Microsoft Graph environment to the settings file. Microsoft Graph PowerShell reference

From the Microsoft Graph PowerShell reference 5 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

5 in the Microsoft Graph PowerShell reference
-AzureADEndpoint, -AzureADUrlThe base URL for Azure AD endpoint to get access tokens for Microsoft Graph endpoint.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-GraphEndpoint, -GraphUrlThe service root endpoint for Microsoft Graph.
-NameThe environment name.
-WhatIf, -wiShows what would happen if the cmdlet runs.