diff --git a/CHANGELOG.md b/CHANGELOG.md index e84f670ad..607dc969b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - Fixed `Add-PnPContentTypeToList` cmdlet to better handle piped lists. [#3244](https://github.com/pnp/powershell/pull/3244) - Fixed `Get-PnPUserProfileProperty` cmdlet not allowing basic user profile properties to be retrieved using `-Properties` [#3247](https://github.com/pnp/powershell/pull/3247) -- Fixed `Export-PnPTermGroupToXml` cmdlet issue with exporting site collection term groups. +- Fixed `Export-PnPTermGroupToXml` cmdlet issue with exporting site collection term groups. [#3256](https://github.com/pnp/powershell/pull/3256) +- Fixed `Register-PnPAzureADApp` cmdlet issue with creation of Azure AD application. [#3265](https://github.com/pnp/powershell/pull/3265) ### Contributors diff --git a/src/Commands/AzureAD/RegisterAzureADApp.cs b/src/Commands/AzureAD/RegisterAzureADApp.cs index 6ffd80d94..9577f4970 100644 --- a/src/Commands/AzureAD/RegisterAzureADApp.cs +++ b/src/Commands/AzureAD/RegisterAzureADApp.cs @@ -564,7 +564,6 @@ private AzureADApp CreateApp(string loginEndPoint, HttpClient httpClient, string { redirectUris = new[] { $"{loginEndPoint}/common/oauth2/nativeclient", - redirectUri != "http://localhost" ? "http://localhost" : null, redirectUri } },