Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/enterprise/cross-tenant-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Comment on lines 93 to +95
Copy link

Copilot AI Apr 6, 2026

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.

Copilot uses AI. Check for mistakes.

### Log into Fabric

Expand All @@ -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
Copy link

Copilot AI Apr 6, 2026

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.

Copilot uses AI. Check for mistakes.

Before you run the script, [log into Fabric](#log-into-fabric).

Expand All @@ -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
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PowerShell snippet uses typographic (curly) quotes around strings/JSON (for example, in $body, $url, and -ContentType). These characters will cause copy/paste execution failures in PowerShell; use straight ASCII quotes consistently (matching the earlier snippet).

Copilot uses AI. Check for mistakes.
```

## Access the cross-tenant data warehouse
Expand Down