Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Bhaskar_D
Helper I
Helper I

Reinitializing the Admin monitoring workspace to reset the access

Hi Team,
As per the MS document we cannot revoke the admin monitoring workspace access directly from the workspace access option, but as per the same doc we can reinitialization the workspace using the semantic model deletion API.
https://learn.microsoft.com/en-us/fabric/admin/monitoring-workspace#reinitializing-the-workspace

By using the Delete Semantic Model API, we can delete the sematic model not a workspace 
Items - Delete Semantic Model - REST API (SemanticModel) | Microsoft Learn

Could you please confirm, inorder to reinitialization the Admin monitoring workspace do we need to delete all sematic model which is under the Admin monitoring workspace? Or do we need to delete a entire workspace?

If workspace need to delete, then which API do we need to execute exactly?


15 REPLIES 15
v-nmadadi-msft
Community Support
Community Support

Hi @Bhaskar_D 

May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.


Thank you

v-nmadadi-msft
Community Support
Community Support

Hi @Bhaskar_D 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.


Thank you.

Bhaskar_D
Helper I
Helper I

Hi @AntoineW 
Thank you for the response and information.

Please confirm the link that you have shared under the point 2 is a direct API?, Because when I click on the link it's throwing the below error. And even I haven't found a workspace deletion API's under the Admin Api's list.
DELETE https://api.powerbi.com/v1/admin/workspaces/{adminMonitoringWorkspaceId}

Bhaskar_D_0-1757933565702.png

Admin API's list: Admin - REST API (Power BI Power BI REST APIs) | Microsoft Learn

AntoineW
Impactful Individual
Impactful Individual

Hi @Bhaskar_D,

 

Yes, sorry for that : Indeed, in the documentation, it's the semantic model deletion API 😊

 

Yes, in the documentation they have asked to use Semantic Model Deletion API, but how we will delete the workspace using the semantic model API since this API has 'semanticModelId' and 'workspaceId' mandatatory parameters. We need to insert both the parameter to excecute the API.

AntoineW
Impactful Individual
Impactful Individual

Hello @Bhaskar_D,

 

You’re right: the Delete Semantic Model API requires both workspaceId and semanticModelId. That’s because this API does not delete a workspace — it deletes models inside a workspace : you can find these values in the URL when you open the semantic model : 

for example : 

https://app.fabric.microsoft.com/groups/{workspace_id}/datasets/{semantic_id}.

 

1) Once that is done, you can get an access token (through powershell, Azure CLI...) so open up and tap these command : 

# Sign in (browser pops up)
az login

# Get a token for Fabric API
az account get-access-token --resource https://api.fabric.microsoft.com --query accessToken -o tsv

 

2) Copy the full token returned on a note.

 

3) Execute the deletion API for semantic model and modify the workspaceId and semanticModelId: 

$token = "EnterTheTokenHere"
Invoke-RestMethod -Method DELETE `
-Uri "https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/semanticModels/{semanticModelsId}" `
-Headers @{ Authorization = "Bearer $token" }

 

4) Click the Workspaces menu and select Admin monitoring to trigger the reinitialization of the workspace, similar to the process of the first installation. On occasion, refreshing the page is also required

 

Hope It's clear ! 

Antoine

Hi @AntoineW,
Thank you for information. However, this process does not help to remove the Admin Monitoring workspace, as we are inserting the semantic model id via the API. Our primary objective is to reset access to the Admin Monitoring workspace.

AntoineW
Impactful Individual
Impactful Individual

Thanks for your reply! I see that fully removing the Admin Monitoring workspace might feel like a big step but it's the option that you may have to do.


Could you share what specifically concerns you about this approach?

Hi @AntoineW,

If I remove a semantic models which is having under the Admin monitoring workspace, will it reset the workspace access? If not, then this approach won't work. Because our objective is only to reset access to the Admin Monitoring workspace.


AntoineW
Impactful Individual
Impactful Individual

Hello @Bhaskar_D,

No — deleting a semantic model inside the Admin Monitoring workspace will not reset the workspace access.

Workspace access is controlled at the workspace level (through roles and security groups), not by the presence of specific semantic models.

 

Quote

" Once set up, admins can share all reports in the workspace with users that aren't admins through a workspace viewer role. Admins can also share individual reports or semantic models with users that aren't admins through links or direct access. " 

 

Hope it can help you ! 

Antoine

Hello @AntoineW 

Yes, workspace access is controlled at the workspace level (through roles and security groups), as per the belwo document once access is provided to the admin monitoring workspace or its underlying content, access can't be removed without reinitializing the workspace.
(https://learn.microsoft.com/en-us/fabric/admin/monitoring-workspace#considerations-and-limitations)

My question is how to reinitialize the Admin monitoring workspace? 

Thank you!



Hi @Bhaskar_D ,

In the URL part of the semantic model deletion API just update only till the Workspace ID

https://api.powerbi.com/v1/admin/workspaces/{workspaceId}

 
Replace Workspace ID with your actual Admin Monitoring Workspace ID.

After successful deletion (200 OK), revisit the Admin Monitoring workspace in the Fabric UI, it will be automatically recreated.
You can run this using Powershell, postman, Edge or Chrome (Dev Console).

Thank you

Hi @v-nmadadi-msft 
Thank you for sharing the information. Could you please help us to understand how to execute the API using the Edge or Chrome (Dev Console)?

Is it through the below link?
Items - Delete Semantic Model - REST API (SemanticModel) | Microsoft Learn

Hi @Bhaskar_D ,

Run the script below in Dev Tools Console while logged in as a Tenant Administrator and viewing the Admin Monitoring workspace:

 

let start_pos = adminworkspaceURL.indexOf('/groups/') + ('/groups/').length ; 

let adminworkspace = adminworkspaceURL.substring(start_pos, start_pos + 36); 

let token = powerBIAccessToken; 

const deleteAdminWorkspace = (url) => { 

    const response = fetch(url, { 

        method: 'DELETE', 

        headers: { Authorization: `Bearer ${token}` }, 

    }); 

    return response; 

}; 


deleteAdminWorkspace('https://api.powerbi.com/v1/admin/workspaces/' + adminworkspace); 

 

If successful, you'll see a Status = 200 Promise response.

 

Once the response status is 200 or you run the API successfully, you can go to Workspaces Tab and click on “Admin monitoring workspace” again.

Other approach is to go to Admin Portal, under “Usage metrics”, you can get a link to redirect to Admin monitoring workspace.

 

 

I hope this information helps. Please do let us know if you have any further queries.
Thank you

AntoineW
Impactful Individual
Impactful Individual

Hello @Bhaskar_D,

 

I understand and yes, the official way to reinitialize the Admin Monitoring workspace is:

  1. Get the Admin Monitoring workspace ID from the workspace URL.

  2. Call the Admin API to delete that monitoring workspace:

  1. In the Power BI / Fabric portal, go to Workspaces > Admin monitoring to trigger the re-provisioning (you may need to refresh once).

This approach recreates the monitoring workspace (Eventhouse + KQL database) just like first-time setup.
You do not need to delete each semantic model individually.

See the documentation here : https://learn.microsoft.com/en-us/fabric/admin/monitoring-workspace#reinitializing-the-workspace

 

Notes

  • Requires Admin permissions and the tenant setting enabled.

  • Deleting the monitoring workspace removes existing logs/content in that workspace.

If you still prefer a “surgical” reset, you can delete the semantic models inside that workspace instead — but the single workspace deletion call above is the recommended, simpler “reinitialize” path.

 

Hope it can help you ! 

Best regards,

Antoine

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors