Connect-OSDCloudAzure
Connect to Azure and initialize OSDCloudAzure session state.
Property
Value
Module
OSD
Platform
WinPE (amd64 / arm64)
Description
Installs the Azure and Microsoft Graph modules required by OSDCloudAzure, signs in to Azure, optionally prompts for a subscription when multiple subscriptions are available, and populates the global context, token, and header variables used by the Azure deployment workflow.
Syntax
Connect-OSDCloudAzure [-UseDeviceAuthentication] [-ProgressAction <ActionPreference>] [<CommonParameters>]Parameters
Parameter
Type
Required
Description
-UseDeviceAuthentication
SwitchParameter
False
Use device-code authentication instead of the interactive Azure sign-in flow.
Examples
Example
Connect-OSDCloudAzure
Signs in to Azure using the interactive browser-based authentication flow.Example
Related
Last updated
Was this helpful?

