-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
instead of using an AAD Service Principal it would be much easier to simply use mssparkutils.credentials to retrieve a token for the currently logged in user
you can replace these lines https://github.com/microsoft/fabric-migration/blob/main/data-engineering/utils/util.py#L14-L27
with synapse_dev_token = mssparkutils.credentials.getToken("https://dev.azuresynapse.net/")
you could further derive the current workspace_id and lakehouse_id of the notebook limiting the necessary input from the user to only the synapse_workspace_name
Metadata
Metadata
Assignees
Labels
No labels