Skip to content

Commit

Permalink
fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
jazuntee committed Jan 25, 2023
1 parent ba10f8c commit 99c134d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resolve-MsIdTenant.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function Resolve-MsIdTenant {
## Initialize Critical Dependencies
$CriticalError = $null
if (!(Test-MgModulePrerequisites -ErrorVariable CriticalError)) { return }
try { Test-MgModulePrerequisites 'CrossTenantInformation.ReadBasic.All' -ErrorAction Stop }
try { Test-MgModulePrerequisites 'CrossTenantInformation.ReadBasic.All' -ErrorAction Stop | Out-Null }
catch { Write-Warning $_.Exception.Message }

$GraphEndPoint = (Get-MgEnvironment -Name $Environment).GraphEndpoint
Expand Down

0 comments on commit 99c134d

Please sign in to comment.