Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2530 - added ApplicationId as alias for ClientId in cmdlets #2805

Merged
merged 1 commit into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Added `-IsVivaConnectionsDefaultStartForCompanyPortalSiteEnabled` parameter to `Get-PnPHomeSite` which returns information on whether Viva Connections landing experience is set to the SharePoint home site. [#2779](https://github.com/pnp/powershell/pull/2779)
- Added `-VivaConnectionsDefaultStart` parameter to `Set-PnPHomeSite` which sets the home site to the provided site collection url and keeps the Viva Connections landing experience to the SharePoint home site. [#2779](https://github.com/pnp/powershell/pull/2779)
- Added `-LargeList` parameter to `Remove-PnPList` cmdlet which improves the list recycling experience for Lists containing huge number of items. [#2778](https://github.com/pnp/powershell/pull/2778)
- Added `-ApplicationId` as alias for `-ClientId` in `Connect-PnPOnline` and `Request-PnPAccessToken` cmdlets.

### Changed

Expand Down
2 changes: 1 addition & 1 deletion documentation/Connect-PnPOnline.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ The Client ID of the Azure AD Application
```yaml
Type: String
Parameter Sets: Credentials, PnP Management Shell / DeviceLogin, Interactive
Aliases:
Aliases: ApplicationId

Required: False
Position: Named
Expand Down
1 change: 1 addition & 0 deletions documentation/Request-PnPAccessToken.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ The Azure Application Client Id to use to retrieve the token. Defaults to the Pn
```yaml
Type: String
Parameter Sets: (All)
Aliases: ApplicationId

Required: False
Position: Named
Expand Down
1 change: 1 addition & 0 deletions src/Commands/Base/ConnectOnline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public class ConnectOnline : BasePSCmdlet
[Parameter(Mandatory = true, ParameterSetName = ParameterSet_ACSAPPONLY)]
[Parameter(Mandatory = false, ParameterSetName = ParameterSet_INTERACTIVE)]
[Parameter(Mandatory = false, ParameterSetName = ParameterSet_DEVICELOGIN)]
[Alias("ApplicationId")]
public string ClientId;

[Parameter(Mandatory = false, ParameterSetName = ParameterSet_CREDENTIALS)]
Expand Down
1 change: 1 addition & 0 deletions src/Commands/Base/RequestAccessToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ namespace PnP.PowerShell.Commands.Base
public class RequestAccessToken : PnPConnectedCmdlet
{
[Parameter(Mandatory = false)]
[Alias("ApplicationId")]
public string ClientId = PnPConnection.PnPManagementShellClientId; // defaults to PnPManagementShell

[Parameter(Mandatory = false)]
Expand Down