microsoft / semantic-link-labs

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

Run any semantic-link-labs function with a Service Principle #171

Open FrankPreusker opened 1 month ago

FrankPreusker commented 1 month ago

As far as I understand, any semantic-link-lab function is executed with the permissions of the current users and is therefore limited to eg the current workspace or other objects which the user has permissions for. Especialy for tenant admins it would be great to be able to run functions like run_model_bpa_bulk for a much wider set of semantic models (potentailly all in a tenant) without the need to have direct permissions on them.

Potential solution: Similar to eg the Scanner API the authentication could use a Service Principal

natolira commented 1 month ago

+1 here.

Many functions here are good as a proof of concept, but to actually implement this is better to use a service principal instead of a user.

Maybe add some **kwars into every function that uses APIs?

andrzejwicik commented 1 month ago

+1 here. Must have if we want to use it on an enterprise scale.

dtiles commented 1 month ago

+1 here. Definitely a great addition