Plaza 365
Plaza 365

No results found for your search

RegisterLog in

2

Visit article

#azure

Power Platform - General

Category

Sep 24, 2024

Published date

Text

Article Type


AI Summary

  • This blog is part 2 of a series on automating access token and refresh token generation using ADF and Azure Key Vault.
  • Assumptions include that request failures are due to expired tokens, access tokens expire after 60 minutes, and you have a non-expiring or long-expiring refresh token.
  • Steps to create a pipeline to refresh the access token involve setting up web activities to pull client ID, client secret, and refresh token, and using a web activity to refresh the access token and save it to the Azure Key Vault.
  • The body of the refresh token web activity includes grant_type=refresh_token&refresh_token=@{activity(‘Get Refresh Token’).output.value}.
  • The authorization for the refresh token web activity is Basic @{base64(concat(activity(‘Get Client Id’).output.value, ‘:’, activity(‘Get Client Secret’).output.value))}.
  • Another web activity is used to refresh the access token and save it to the Azure Key Vault with the body {"value": “@{activity(‘Refresh Access Token’).output.access_token}”.
  • The blog provides a guide to automating token management, reducing manual interventions, and maintaining secure access to resources using Azure Data Factory and Azure Key Vault.
  • Readers are encouraged to reach out for further discussions via email at [email protected].

Registered users can view the full text for FREE!

Sign In Now!