Describe the bug
The semantic model best practice analyzer across all accessible workspaces run_model_bpa_bulk(workspace=None) fails if the user can access the Fabric Admin Monitoring workspace. By default, the admin monitoring workspace is assigned to a shared capacity, and moving it to a Fabric capacity didn't work either.
In a Fabric notebook, run the semantic model bpa without specifying a workspace (workspace=None) or the following snippet
%pip install semantic-link-labs
import sempy_labs as labs
import sempy_labs.report as rep
labs.run_model_bpa_bulk(workspace=None)
Expected behavior
The command should execute successfully, and BPA stats for all the workspaces to which the user has access should be available in the lakehouse table. Alternatively, the Admin Monitoring workspace should be excluded from the scan.
Screenshots
Desktop (please complete the following information):
Additional context
We do not have the option to turn off the Admin Monitoring workspace. So Fabric Administrators and users with access to the Admin Monitoring workspace can't use the workspace=None unless this behavior has been fixed.
Describe the bug The semantic model best practice analyzer across all accessible workspaces
run_model_bpa_bulk(workspace=None)
fails if the user can access the Fabric Admin Monitoring workspace. By default, the admin monitoring workspace is assigned to a shared capacity, and moving it to a Fabric capacity didn't work either.To Reproduce
workspace=None
) or the following snippetExpected behavior The command should execute successfully, and BPA stats for all the workspaces to which the user has access should be available in the lakehouse table. Alternatively, the Admin Monitoring workspace should be excluded from the scan.
Screenshots
Desktop (please complete the following information):
Additional context We do not have the option to turn off the Admin Monitoring workspace. So Fabric Administrators and users with access to the Admin Monitoring workspace can't use the
workspace=None
unless this behavior has been fixed.