Skip to content

401 error when connecting with AccessToken generated through CSP #2236

Answered by magnusjak
magnusjak asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @martinlingstuyl,

We ended up doing a workaround here. Using our DAP(AOBO) access to create an application/ServicePrincipal and add the required permissions to it, add a certificate and then save the appID and certEncoding in our own keyvault, we are able to use this when authentication to the customer through PNP.

We also had a discussion with Microsoft about this, more or less saying that it won't work using the DAP access directly.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@martinlingstuyl
Comment options

Answer selected by magnusjak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants