Bearer token from web activity is getting truncated

Lakshmi Niharika Paladugu 15 Reputation points
2023-04-19T15:25:50.5366667+00:00

Hi I am retriving bearer token from rest api using synapse web activity. But when that access_token is used to get data then facing unauthorization error. While debugging used synapse received token in postman then same unauthorization error but when token from postman is used in synapse then able to get data. On observation found that token is of length 281 in postman whereas in synapse it is 274. Can someone help on how to retrieve full token without truncation. Found some old posts but there is no solution provided in that . Thanks, Niharika

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,997 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Lakshmi Niharika Paladugu 15 Reputation points
    2023-05-04T11:46:36.0233333+00:00

    Please ignore I am able to resolve and got the full token by changing scope to data instead of user.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.