You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
9
9
10
10
### Added
11
11
- Added -AzureEnvironment parameter to `Initialize-PnPPowerShellAuthentication` to create an Azure AD App in other Azure environments than the default one.
12
+
- Added -AzureEnvironment parameter to all Connect-PnPOnline options which result in an OAuth based authentication connection, supporting the various Azure Environments available.
12
13
13
14
### Changed
14
15
- Fixed issue with Submit-PnPTeamsChannelMessage not posting HTML message when setting the content type to Html.
15
16
- The content type that Submit-PnPTeamsChannelMessage uses defaults now to HTML.
17
+
- Fixed an issue with the PnP Provisioning Engine not being able to correctly acquire a token for the Microsoft Graph when provisioning a tenant template containing a Team.
Copy file name to clipboardExpand all lines: Commands/Base/ConnectOnline.cs
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -522,6 +522,9 @@ public class ConnectOnline : BasePSCmdlet
522
522
[Parameter(Mandatory=false,ParameterSetName=ParameterSet_APPONLYAADCER,HelpMessage="The Azure environment to use for authentication, the defaults to 'Production' which is the main Azure environment.")]
523
523
[Parameter(Mandatory=false,ParameterSetName=ParameterSet_TOKEN,HelpMessage="The Azure environment to use for authentication, the defaults to 'Production' which is the main Azure environment.")]
524
524
[Parameter(Mandatory=false,ParameterSetName=ParameterSet_APPONLYCLIENTIDCLIENTSECRETURL,HelpMessage="The Azure environment to use for authentication, the defaults to 'Production' which is the main Azure environment.")]
525
+
[Parameter(Mandatory=false,ParameterSetName=ParameterSet_AADWITHSCOPE,HelpMessage="The Azure environment to use for authentication, the defaults to 'Production' which is the main Azure environment.")]
526
+
[Parameter(Mandatory=false,ParameterSetName=ParameterSet_DEVICELOGIN,HelpMessage="The Azure environment to use for authentication, the defaults to 'Production' which is the main Azure environment.")]
527
+
[Parameter(Mandatory=false,ParameterSetName=ParameterSet_GRAPHDEVICELOGIN,HelpMessage="The Azure environment to use for authentication, the defaults to 'Production' which is the main Azure environment.")]
[Parameter(Mandatory=true,ParameterSetName=ParameterSet_AADWITHSCOPE,HelpMessage="The array of permission scopes to request from Azure Active Directory")]
/// <param name="tokenAudience">Audience to try to get a token for</param>
164
167
/// <param name="orRoles">The specific roles to request access to (i.e. Group.ReadWrite.All). Optional, will use default groups assigned to clientId if not specified.</param>
165
168
/// <returns><see cref="GenericToken"/> for the audience or NULL if unable to retrieve a token for the audience on the current connection</returns>
0 commit comments