Skip to content

app.acquire_token_for_client error - AssertionError: Invalid parameter type #587

Answered by p17b
Git-BT-Hub asked this question in Q&A
Discussion options

You must be logged in to vote

had the same issue with release 1.23.0, was ok in 1.22.0
I found that the 'scopes' parameter should be a list of strings.
as @rayluo said tried to wrap in []
eg.
s = ["https://graph.microsoft.com/.default"]

Replies: 12 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Raghavendra-Dasara
Comment options

@rayluo
Comment options

Answer selected by rayluo
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
8 participants
Converted from issue

This discussion was converted from issue #583 on August 09, 2023 04:50.