Skip to content

Commit fe3a9e3

Browse files
authored
Update how-to-recover-workspace-after-tenant-move.md
It seems we need to set a value for $contentType, otherwise it will hit exception. $contentType = 'application/json'
1 parent 7d1e494 commit fe3a9e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/synapse-analytics/how-to-recover-workspace-after-tenant-move.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ $subscriptionId="Provide the subscription ID (GUID) of the subscription containi
149149
$resourceGroupName="Provide the name of the resource group containing your workspace"
150150
$workspaceName="Provide the name of your workspace"
151151
152+
$contentType = 'application/json'
153+
152154
$token = (Get-AzAccessToken -ResourceUrl "https://management.azure.com/").Token
153155
$header = @{Authorization="Bearer $token"}
154156

0 commit comments

Comments
 (0)