Get Access Token for Linked Service (REST) with OAuth2ClientCredential Authentication Type

Maryna Paluyanava 126 Reputation points


Could you please clarify me the following.

If I implement linked service (REST) with OAuth2ClientCredential Authentication Type, do I need to update access token using refresh token?

Before I implemented the following steps: 1- got access token from AKV, 2- if token expired, I updated it with refresh token, 3 - used Copy activity to load data (with Additional headers where I specified updated access token).

Now I noticed that if linked service (REST) is implemented with OAuth2ClientCredential Authentication Type I do not need to store access token in AKV, I do not need to refresh token. I just use Copy Activity (without any Additional headers) and it seems like Linked service takes care of renewing the token.
Is that correct?


Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
7,171 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 31,806 Reputation points Microsoft Employee

    Hi @Maryna Paluyanava ,

    Thank you for posting query in Microsoft Q&A Platform.

    Yes. REST connector linked service has OAuth2ClinetCredential option too. You can start using that. Click here to know more about it.

    Kindly go head and start using it.

    Hope this helps. Please let me know if any further queries.


    Please consider hitting Accept Answer button. Accepted answers help community as well.

    0 comments No comments

0 additional answers

Sort by: Most helpful