From 66893dbd23d4be856b4d9b7543053f96a00eb842 Mon Sep 17 00:00:00 2001 From: Gautam Sheth Date: Fri, 18 Oct 2024 20:39:16 +0300 Subject: [PATCH] Fix #4434: add documentation for AzureEnv parameter in cmdlets (#4452) Co-authored-by: Gautam Sheth --- documentation/Register-PnPAzureADApp.md | 16 ++++++++++++++++ .../Register-PnPEntraIDAppForInteractiveLogin.md | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/documentation/Register-PnPAzureADApp.md b/documentation/Register-PnPAzureADApp.md index 6cd71ed7e..74575bd90 100644 --- a/documentation/Register-PnPAzureADApp.md +++ b/documentation/Register-PnPAzureADApp.md @@ -386,6 +386,22 @@ Position: Named Accept pipeline input: False ``` +### -AzureEnvironment +The Azure environment to use for authentication, the defaults to 'Production' which is the main Azure environment. + +```yaml +Type: AzureEnvironment +Parameter Sets: (All) +Aliases: +Accepted values: Production, PPE, China, Germany, USGovernment, USGovernmentHigh, USGovernmentDoD, Custom + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LogoFilePath Sets the logo for the Azure AD application. Provide a full path to a local image file on your disk which you want to use as the logo. diff --git a/documentation/Register-PnPEntraIDAppForInteractiveLogin.md b/documentation/Register-PnPEntraIDAppForInteractiveLogin.md index 7b292cb01..80da37230 100644 --- a/documentation/Register-PnPEntraIDAppForInteractiveLogin.md +++ b/documentation/Register-PnPEntraIDAppForInteractiveLogin.md @@ -177,6 +177,22 @@ Position: Named Accept pipeline input: False ``` +### -AzureEnvironment +The Azure environment to use for authentication, the defaults to 'Production' which is the main Azure environment. + +```yaml +Type: AzureEnvironment +Parameter Sets: (All) +Aliases: +Accepted values: Production, PPE, China, Germany, USGovernment, USGovernmentHigh, USGovernmentDoD, Custom + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LogoFilePath Sets the logo for the Azure AD application. Provide a full path to a local image file on your disk which you want to use as the logo.