-
Notifications
You must be signed in to change notification settings - Fork 468
Update cross-tenant-access.md #2872
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -92,7 +92,7 @@ To install the apps, follow these steps: | |
|
|
||
| ## Enable cross tenant access | ||
|
|
||
| This section shows how to enable cross tenant access using PowerShell scripts that call Fabric REST APIs. You can use other methods to call these APIs. | ||
| This section shows how to enable cross tenant access using PowerShell scripts that call Fabric REST APIs. You can use other methods to call these APIs. You can append `-Verbose` to surface additional diagnostic output during execution. | ||
|
|
||
| ### Log into Fabric | ||
|
|
||
|
|
@@ -111,12 +111,12 @@ Use [Invoke-PowerBIRestMethod](/powershell/module/microsoftpowerbimgmt.profile/i | |
| ```powershell | ||
| $body ='{ "resourceTenantObjectId": "GUID_VAL" }' | ||
| $url = "https://api.powerbi.com/v1/ephemeral/crosstenantauth/consent" | ||
| Invoke-PowerBIRestMethod -Url $url -Method Put –Body $body –ContentType "application/json" | ||
| Invoke-PowerBIRestMethod -Url $url -Method Put -Body $body -ContentType "application/json" | ||
| ``` | ||
|
|
||
| ## Disable cross tenant access | ||
|
|
||
| This section shows how to disable cross tenant access using PowerShell scripts that call Fabric REST APIs. You can use other methods to call these APIs. | ||
| This section shows how to disable cross tenant access using PowerShell scripts that call Fabric REST APIs. You can use other methods to call these APIs. You can append `-Verbose` to surface additional diagnostic output during execution. | ||
|
Comment on lines
117
to
+119
|
||
|
|
||
| Before you run the script, [log into Fabric](#log-into-fabric). | ||
|
|
||
|
|
@@ -125,7 +125,7 @@ Use [Invoke-PowerBIRestMethod](/powershell/module/microsoftpowerbimgmt.profile/i | |
| ```powershell | ||
| $body = ‘{ “resourceTenantObjectId”: “GUID_VAL” }’ | ||
| $url = “https://api.powerbi.com/v1/ephemeral/crosstenantauth/revokeConsent” | ||
| Invoke-PowerBIRestMethod -Url $url -Method Put –Body $body –ContentType “application/json” | ||
| Invoke-PowerBIRestMethod -Url $url -Method Put -Body $body -ContentType “application/json” | ||
|
Comment on lines
126
to
+128
|
||
| ``` | ||
|
|
||
| ## Access the cross-tenant data warehouse | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new sentence adds another instance of "cross tenant" without a hyphen. The article title/front matter already uses "cross-tenant"; consider using "cross-tenant" consistently here (and in the heading) to match the established term.