Skip to content

Commit b89f985

Browse files
Tonychen0227Tony Chen (DevDiv)
andauthored
{serviceconnector-passwordless} Fix Fabric Auth Endpoint URL (#8516)
* Press enter to continue on docs * Fix versioning * Use a different Fabric audience * Update auth endpoint for fabric --------- Co-authored-by: Tony Chen (DevDiv) <chentony@microsoft.com>
1 parent 3ad3a69 commit b89f985

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/serviceconnector-passwordless/HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
33
Release History
44
===============
5+
3.3.1
6+
++++++
7+
* Change Fabric SQL token endpoint for Cloud Shell compatibility.
8+
59
3.3.0
610
++++++
711
* Fix issue with params to support interactive mode for Fabric SQL

src/serviceconnector-passwordless/azext_serviceconnector_passwordless/_credential_free.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ def create_aad_user(self):
10161016
self.create_aad_user_in_sql(connection_args, query_list)
10171017

10181018
def get_fabric_access_token(self):
1019-
return run_cli_cmd('az account get-access-token --output json --resource https://api.fabric.microsoft.com/').get('accessToken')
1019+
return run_cli_cmd('az account get-access-token --output json --resource https://analysis.windows.net/powerbi/api').get('accessToken')
10201020

10211021
def set_user_admin(self, user_object_id, **kwargs):
10221022
return

src/serviceconnector-passwordless/azext_serviceconnector_passwordless/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
# --------------------------------------------------------------------------------------------
55

66

7-
VERSION = '3.3.0'
7+
VERSION = '3.3.1'
88
NAME = 'serviceconnector-passwordless'

src/serviceconnector-passwordless/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
logger.warn("Wheel is not available, disabling bdist_wheel hook")
1616

1717

18-
VERSION = '3.3.0'
18+
VERSION = '3.3.1'
1919

2020
# The full list of classifiers is available at
2121
# https://pypi.python.org/pypi?%3Aaction=list_classifiers

0 commit comments

Comments
 (0)