Skip to content

Commit 3504d69

Browse files
Migrate Resources from generation to main (#21759)
* Move Resources to main * update live test * update changelog * update swagger to match generaiton branch --------- Co-authored-by: Yabo Hu <[email protected]>
1 parent cb62138 commit 3504d69

File tree

378 files changed

+43050
-5911
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

378 files changed

+43050
-5911
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 = '915ed93c-963e-42c6-8d23-e43cd876a6bd'
2+
GUID = '4a2266f6-6c4b-47e3-a136-8349ad1cc791'
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: 915ed93c-963e-42c6-8d23-e43cd876a6bd
3+
Module Guid: 4a2266f6-6c4b-47e3-a136-8349ad1cc791
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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2+
"autorest_modelerfour": "4.24.3",
3+
"autorest_core": "3.9.5",
24
"node": "v14.15.5",
3-
"swagger_commit": "4f6418dca8c15697489bbe6f855558bb79ca5bf5",
45
"autorest": "`-- (empty)",
5-
"autorest_powershell": "3.0.504",
6-
"autorest_modelerfour": "4.15.414",
7-
"autorest_core": "3.9.5"
6+
"swagger_commit": "1f449b5a17448f05ce1cd914f8ed75a0b568d130",
7+
"autorest_powershell": "4.0.0-dev.10"
88
}

src/Resources/LiveTests/TestLiveScenarios.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Invoke-LiveTestScenario -Name "Test Application" -Description "Test the process
1515

1616
$app1 = New-AzADApplication -DisplayName $appName1 -ReplyUrls $replyUrl1 -HomePage $homePage1 -AvailableToOtherTenants $true -StartDate (Get-Date)
1717
$app1 = Get-AzADApplication -DisplayName $appName1
18-
Assert-NotNullOrEmpty $app1
18+
Assert-NotNullOrEmpty $app1.Id
1919
Assert-AreEqual $replyUrl1 $app1.Web.RedirectUri
2020
Assert-AreEqual $homepage1 $app1.Web.HomePageUrl
2121
Assert-AreEqual 'AzureADMultipleOrgs' $app1.SignInAudience
@@ -29,8 +29,8 @@ Invoke-LiveTestScenario -Name "Test Application" -Description "Test the process
2929
Assert-AreEqual $replyUrl2 $app1Update.Web.RedirectUri
3030
Assert-AreEqual $homepage2 $app1Update.Web.HomePageUrl
3131
Assert-AreEqual 'AzureADMyOrg' $app1Update.SignInAudience
32-
Assert-NotNullOrEmpty (Get-AzADAppCredential -ObjectId $app1.Id)
3332
$pw = New-AzADAppCredential -ObjectId $app1.Id -StartDate (get-date)
33+
Assert-NotNullOrEmpty (Get-AzADAppCredential -ObjectId $app1.Id).KeyId
3434

3535
$certFile = Join-Path $PSScriptRoot 'msgraphtest2.cer'
3636
$content = get-content $certFile -AsByteStream
@@ -91,6 +91,7 @@ Invoke-LiveTestScenario -Name "Test Group Member" -Description "Test the process
9191
switch ($member.OdataType) {
9292
'#microsoft.graph.user' {
9393
Assert-AreEqual $user.Id $member.Id
94+
Assert-AreEqual $userPrincipalName $member.UserPrincipalName
9495
Remove-AzADGroupMember -GroupObjectId $group1.Id -MemberObjectId $user.Id
9596
}
9697
'#microsoft.graph.group' {

0 commit comments

Comments
 (0)