Skip to content

Commit 2fe67db

Browse files
Migrate Resources from generation to main (#21696)
* Move Resources to main * Update ChangeLog.md --------- Co-authored-by: Yabo Hu <[email protected]>
1 parent 0cc5714 commit 2fe67db

File tree

7 files changed

+23
-13
lines changed

7 files changed

+23
-13
lines changed

src/Resources/Authorization.Autorest/Az.Authorization.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@{
2-
GUID = '678ecf28-7b50-40d5-b71e-239872705035'
2+
GUID = '915ed93c-963e-42c6-8d23-e43cd876a6bd'
33
RootModule = './Az.Authorization.psm1'
44
ModuleVersion = '0.1.0'
55
CompatiblePSEditions = 'Core', 'Desktop'

src/Resources/Authorization.Autorest/docs/Az.Authorization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.Authorization
3-
Module Guid: 678ecf28-7b50-40d5-b71e-239872705035
3+
Module Guid: 915ed93c-963e-42c6-8d23-e43cd876a6bd
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.authorization
55
Help Version: 1.0.0.0
66
Locale: en-US
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"autorest_powershell": "3.0.504",
3-
"autorest": "`-- (empty)",
4-
"autorest_core": "3.9.5",
5-
"swagger_commit": "b73e2d320f1ae530ea5e78625dfe14a921dcf011",
62
"node": "v14.15.5",
7-
"autorest_modelerfour": "4.15.414"
3+
"swagger_commit": "4f6418dca8c15697489bbe6f855558bb79ca5bf5",
4+
"autorest": "`-- (empty)",
5+
"autorest_powershell": "3.0.504",
6+
"autorest_modelerfour": "4.15.414",
7+
"autorest_core": "3.9.5"
88
}

src/Resources/MSGraph.Autorest/custom/New-AzADApplication.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,10 +644,19 @@ function New-AzADApplication {
644644
$PSBoundParameters['Web'].RedirectUri = $PSBoundParameters['ReplyUrls']
645645
$null = $PSBoundParameters.Remove('ReplyUrls')
646646
}
647+
if ($PSBoundParameters['SPARedirectUri']) {
648+
$null = $PSBoundParameters.Remove('SPARedirectUri')
649+
}
650+
if ($PSBoundParameters['PublicClientRedirectUri']) {
651+
$null = $PSBoundParameters.Remove('PublicClientRedirectUri')
652+
}
647653
}
648654
elseif ($PSBoundParameters['SPARedirectUri']) {
649655
$PSBoundParameters['SPA'] = New-Object -TypeName "Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphSPAApplication" -Property @{'RedirectUri' = $PSBoundParameters['SPARedirectUri'] }
650656
$null = $PSBoundParameters.Remove('SPARedirectUri')
657+
if ($PSBoundParameters['PublicClientRedirectUri']) {
658+
$null = $PSBoundParameters.Remove('PublicClientRedirectUri')
659+
}
651660
}
652661
elseif ($PSBoundParameters['PublicClientRedirectUri']) {
653662
$PSBoundParameters['PublicClient'] = New-Object -TypeName "Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphPublicClientApplication" -Property @{'RedirectUri' = $PSBoundParameters['PublicClientRedirectUri'] }
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"autorest_powershell": "3.0.504",
3-
"autorest": "`-- (empty)",
4-
"autorest_core": "3.9.5",
5-
"swagger_commit": "b73e2d320f1ae530ea5e78625dfe14a921dcf011",
62
"node": "v14.15.5",
7-
"autorest_modelerfour": "4.15.414"
3+
"swagger_commit": "4f6418dca8c15697489bbe6f855558bb79ca5bf5",
4+
"autorest": "`-- (empty)",
5+
"autorest_powershell": "3.0.504",
6+
"autorest_modelerfour": "4.15.414",
7+
"autorest_core": "3.9.5"
88
}

src/Resources/Resources/Az.Resources.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 4/26/2023
6+
# Generated on: 5/4/2023
77
#
88

99
@{

src/Resources/Resources/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Fixed `New-AzADApplication` when multiple redirect url types are provided. [#21108]
2223
* Fixed `Update-AzADServicePrincipal` when empty array passed for `IdentifierUri` [#21345]
2324
* Fixed an issue where location header was missing in the response from the service for New-AzManagedApplication.
2425

0 commit comments

Comments
 (0)