microsoft / semantic-link-labs

Early access to new features for Microsoft Fabric's Semantic Link.
MIT License
178 stars 37 forks source link

Error When Running labs.run_model_bpa Command #181

Open AndreaTodaro opened 1 month ago

AndreaTodaro commented 1 month ago

Issue Report: Error When Running labs.run_model_bpa Command

Command Executed:

labs.run_model_bpa(dataset='AAA', workspace='BBB', language='fr-FR', export='table')

Error Message:

AmoException: The 'Database' with 'Name' = 'AAA' doesn't exist in the collection.

Description: When attempting to execute the labs.run_model_bpa command with the specified parameters, we encounter an AmoException indicating that the database named 'AAA' does not exist. This error occurs even though the account executing the command is an admin of the workspace 'BBB' that contains the semantic model.

Context:

Possible Causes:

  1. Database Ownership: The model might require ownership permissions.
error
m-kovalsky commented 1 month ago

Yes, you need to be an admin of the semantic model in order to properly connect to the model and run the various subprocesses. I presume you are also interested in #171.