Skip to content
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

BPA for all semantic models fails if user has access to a workspace on a shared capacity #189

Open
DhyanRathore opened this issue Oct 4, 2024 · 1 comment
Labels
question Further information is requested

Comments

@DhyanRathore
Copy link

Describe the bug
The semantic model best practice analyzer across all accessible workspaces run_model_bpa_bulk(workspace=None) fails if the user has access to a workspace on the shared capacity.

To Reproduce
Steps to reproduce the behavior:

  1. Ensure you have access to a workspace on shared capacity
  2. 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 either ignore the workspace on the shared capacity or execute successfully. BPA stats for all the workspaces to which the user has access should be available in the Lakehouse table.

Screenshots
'BPA TRIALS' workspace is on shared capacity
Shared Capacity

Desktop (please complete the following information):

  • OS: Windows 11 Home build 22631.4249
  • Browser: Firefox 131.0 (x64), Chrome 128.0.6613.178 (x64)

Additional context
This capability will not be effective unless this issue has been fixed, as users usually also have access to workspaces in a shared capacity.

@DhyanRathore DhyanRathore added the bug Something isn't working label Oct 4, 2024
@m-kovalsky
Copy link
Collaborator

This isn't a bug with BPA - it's a limitation of shared capacity functionality. Trying to figure out why shared capacities have this limitation.

@m-kovalsky m-kovalsky added question Further information is requested and removed bug Something isn't working labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants