Skip to content

Migrate Resources from generation to main #21759

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

Merged
merged 4 commits into from
May 11, 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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion src/Resources/Authorization.Autorest/Az.Authorization.psd1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@{
GUID = '915ed93c-963e-42c6-8d23-e43cd876a6bd'
GUID = '4a2266f6-6c4b-47e3-a136-8349ad1cc791'
RootModule = './Az.Authorization.psm1'
ModuleVersion = '0.1.0'
CompatiblePSEditions = 'Core', 'Desktop'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Az.Authorization
Module Guid: 915ed93c-963e-42c6-8d23-e43cd876a6bd
Module Guid: 4a2266f6-6c4b-47e3-a136-8349ad1cc791
Download Help Link: https://learn.microsoft.com/powershell/module/az.authorization
Help Version: 1.0.0.0
Locale: en-US
Expand Down
8 changes: 4 additions & 4 deletions src/Resources/Authorization.Autorest/generate-info.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"autorest_modelerfour": "4.24.3",
"autorest_core": "3.9.5",
"node": "v14.15.5",
"swagger_commit": "4f6418dca8c15697489bbe6f855558bb79ca5bf5",
"autorest": "`-- (empty)",
"autorest_powershell": "3.0.504",
"autorest_modelerfour": "4.15.414",
"autorest_core": "3.9.5"
"swagger_commit": "1f449b5a17448f05ce1cd914f8ed75a0b568d130",
"autorest_powershell": "4.0.0-dev.10"
}
5 changes: 3 additions & 2 deletions src/Resources/LiveTests/TestLiveScenarios.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Invoke-LiveTestScenario -Name "Test Application" -Description "Test the process

$app1 = New-AzADApplication -DisplayName $appName1 -ReplyUrls $replyUrl1 -HomePage $homePage1 -AvailableToOtherTenants $true -StartDate (Get-Date)
$app1 = Get-AzADApplication -DisplayName $appName1
Assert-NotNullOrEmpty $app1
Assert-NotNullOrEmpty $app1.Id
Assert-AreEqual $replyUrl1 $app1.Web.RedirectUri
Assert-AreEqual $homepage1 $app1.Web.HomePageUrl
Assert-AreEqual 'AzureADMultipleOrgs' $app1.SignInAudience
Expand All @@ -29,8 +29,8 @@ Invoke-LiveTestScenario -Name "Test Application" -Description "Test the process
Assert-AreEqual $replyUrl2 $app1Update.Web.RedirectUri
Assert-AreEqual $homepage2 $app1Update.Web.HomePageUrl
Assert-AreEqual 'AzureADMyOrg' $app1Update.SignInAudience
Assert-NotNullOrEmpty (Get-AzADAppCredential -ObjectId $app1.Id)
$pw = New-AzADAppCredential -ObjectId $app1.Id -StartDate (get-date)
Assert-NotNullOrEmpty (Get-AzADAppCredential -ObjectId $app1.Id).KeyId

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