diff --git a/packages/typespec-powershell/package.json b/packages/typespec-powershell/package.json
index 9d25f3dd66..e89148b498 100644
--- a/packages/typespec-powershell/package.json
+++ b/packages/typespec-powershell/package.json
@@ -15,7 +15,7 @@
}
},
"dependencies": {
- "@autorest/powershell": "~4.0.708",
+ "@autorest/powershell": "~4.0.721",
"@autorest/codemodel": "~4.19.3",
"@autorest/extension-base": "~3.5.2",
"@azure-tools/async-io": "~3.0.0",
diff --git a/tests-upgrade/tests-emitter/Sphere.Management/target/Az.Sphere.csproj b/tests-upgrade/tests-emitter/Sphere.Management/target/Az.Sphere.csproj
index 2ef99bb9e6..1c6aba7d57 100644
--- a/tests-upgrade/tests-emitter/Sphere.Management/target/Az.Sphere.csproj
+++ b/tests-upgrade/tests-emitter/Sphere.Management/target/Az.Sphere.csproj
@@ -6,6 +6,7 @@
netstandard2.0
Library
Az.Sphere.private
+ false
Microsoft.Azure.PowerShell.Cmdlets.Sphere
true
false
@@ -19,7 +20,6 @@
true
-
false
TRACE;DEBUG;NETSTANDARD
diff --git a/tests-upgrade/tests-emitter/Sphere.Management/target/build-module.ps1 b/tests-upgrade/tests-emitter/Sphere.Management/target/build-module.ps1
index bd9969c3b5..732a8de108 100644
--- a/tests-upgrade/tests-emitter/Sphere.Management/target/build-module.ps1
+++ b/tests-upgrade/tests-emitter/Sphere.Management/target/build-module.ps1
@@ -75,6 +75,8 @@ if(-not $NotIsolated -and -not $Debugger) {
$binFolder = Join-Path $PSScriptRoot 'bin'
$objFolder = Join-Path $PSScriptRoot 'obj'
+$isAzure = [System.Convert]::ToBoolean('true')
+
if(-not $Debugger) {
Write-Host -ForegroundColor Green 'Cleaning build folders...'
$null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path $binFolder, $objFolder
@@ -151,7 +153,7 @@ if($NoDocs) {
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
}
$null = New-Item -ItemType Directory -Force -Path $docsFolder
- $addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true')
+ $addComplexInterfaceInfo = !$isAzure
Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid -AddComplexInterfaceInfo:$addComplexInterfaceInfo
}
@@ -186,5 +188,4 @@ if (-not $DisableAfterBuildTasks){
}
}
-
-Write-Host -ForegroundColor Green '-------------Done-------------'
+Write-Host -ForegroundColor Green '-------------Done-------------'
\ No newline at end of file