Reputation: 4945
I am trying to get the Pipeline run details via Devops REST API.
The API is working fine when authenticating using the PAT value within Azure data factory as seen below :
But ADF is failing with below error :
pan class="error">Microsoft Internet Explorer's Enhanced Security Configuration is currently enabled on your environment. This enhanced level of security prevents our web integration experiences from displaying or performing correctly. To continue with your operation please disable this configuration or contact your administrator.\r\n \r\n
when executing via Managed Identity auth .
Note : The ADF has project administrator permission. So doesnt seems to be permission related
Upvotes: 0
Views: 109
Reputation: 13944
Try to convert your PAT to a Base64 string. Then, use the Base64 string to call the Azure DevOps REST API on ADF.
Below is a way to convert PAT to a Base64 string using PowerShell.
$pat = 'xxxxxx'
$base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f "", $pat)))
Upvotes: 0