添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
飘逸的蘑菇  ·  python - Django ...·  1 年前    · 
高大的柳树  ·  vs未定义标识符gets-掘金·  2 年前    · 
跑龙套的啄木鸟  ·  #云原生征文# ...·  2 年前    · 

I am trying to run a Azure synapse pipeline using RESTAPI. I have generated the bearer token in the first request and using the bearer token in the second request to run the pipeline.

I am facing the below error:

"code": "InvalidTokenAuthenticationAudience",
"message": "Token Authentication failed with SecurityTokenInvalidAudienceException - IDX10214: Audience validation failed. Audiences: '[PII is hidden]'. Did not match: validationParameters.ValidAudience: '[PII is hidden]' or validationParameters.ValidAudiences: '[PII is hidden]'."

Can you please guide me to solve this issue?.

RESTAPI reference link: https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/pipeline/createpipelinerun#createrunresponse

Hello @Sangilimurugan S ,

You may checkout the common parameters and headers to all tasks that you might do related to Azure Synapse: https://learn.microsoft.com/en-us/rest/api/synapse/#common-parameters-and-headers .

Hope this helps. Do let us know if you any further queries.

Hi @PRADEEPCHEEKATLA-MSFT

I am able to fix the issue after setting audience as shown in the screenshot.
Appreciate you help.

Hello @Sangilimurugan S ,

Glad to know that your issue has resolved.

----------------------------------------------------------------------------------------

Do click on Accept Answer and Up-Vote on the post that helps you, this can be beneficial to other community members.