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

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

Open
FrankPreusker opened this issue Sep 25, 2024 · 7 comments
Open

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

FrankPreusker opened this issue Sep 25, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@FrankPreusker
Copy link

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

@FrankPreusker FrankPreusker added the enhancement New feature or request label Sep 25, 2024
@natolira
Copy link

+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
Copy link

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

@dtiles
Copy link

dtiles commented Oct 6, 2024

+1 here. Definitely a great addition

@NickyvVr
Copy link

+1, I definitely agree this would be most helpful!

@techexplorer101
Copy link

+1, definitely needed for use within organizations. Any updates on this issue?

@m-kovalsky
Copy link
Collaborator

With the introduction of this class in 0.8.7, we are getting closer to SP authentication for supported APIs. Stay tuned…

https://semantic-link-labs.readthedocs.io/en/stable/sempy_labs.html#sempy_labs.ServicePrincipalTokenProvider

@stermos-auchan
Copy link

stermos-auchan commented Dec 19, 2024

@m-kovalsky Hello, imagine I added a service account user (a "normal" account, not a service principal) to all the workspaces, is it possible today (or will it be tomorrow) to execute semantic link labs functions by using the permissions of that user in a Notebook ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants