We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14915e4 commit c04bdd0Copy full SHA for c04bdd0
src/sempy_labs/tom/_model.py
@@ -93,7 +93,7 @@ def __init__(self, dataset, workspace, readonly, token_provider):
93
if match:
94
region = match.group(1)
95
token = token_provider(audience="asazure", region=region)
96
- connection_str = f'Provider=MSOLAP;Data Source={self._workspace_name};Password="{token.token}";Persist Security Info=True;Impersonation Level=Impersonate'
+ connection_str = f'Provider=MSOLAP;Data Source={self._workspace_name};Password="{token}";Persist Security Info=True;Impersonation Level=Impersonate'
97
self._tom_server = TOM.Server()
98
self._tom_server.Connect(connection_str)
99
# Service Principal Authentication for Power BI via token provider
0 commit comments