Skip to content

Commit b89f962

Browse files
authored
Merge pull request #1209 from dbrownems/patch-1
Update notebooks.md to set audience key for token
2 parents 9b06c6a + 3e4ba5f commit b89f962

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/real-time-intelligence/notebooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Fabric notebooks provide [code snippets](../data-engineering/author-execute-note
4545
# The database with data to be read.
4646
database = "DocsDatabase"
4747
# The access credentials.
48-
accessToken = mssparkutils.credentials.getToken(kustoUri)
48+
accessToken = mssparkutils.credentials.getToken('kusto')
4949
kustoDf = spark.read\
5050
.format("com.microsoft.kusto.spark.synapse.datasource")\
5151
.option("accessToken", accessToken)\
@@ -67,7 +67,7 @@ Fabric notebooks provide [code snippets](../data-engineering/author-execute-note
6767
# The table to write the data
6868
table = ""
6969
# The access credentials for the write
70-
accessToken = mssparkutils.credentials.getToken(kustoUri)
70+
accessToken = mssparkutils.credentials.getToken('kusto')
7171
7272
# Generate a range of 5 rows with Id's 5 to 9
7373
data = spark.range(5,10)

0 commit comments

Comments
 (0)