Change from Service principal to Managed Identity authentication existing linked services in ADF

Copper Contributor

Hi All,

Could you please let me know how to update existing SPN to MSI linked services  using like programmatically / REST API/ Script etc.

 In ADF, linked services using Service Principal i want to convert them to MSI .

 

Existing SPN details .

{

"name" : "ls_stg_storage_dem001",

"type" : "Microsoft.DataFactory/factories/linkedservices",

"properties" : {

"type" : "AzureBlobFS",

"typeProperties" : {

"url" : https://testdus001.dfs.core.windows.net,

"servicePrincipalId" : "7d678787-de8d-890c-ac12-12c103837176",

"servicePrincipalCredentialType" : "ServicePrincipalKey",

"tenant" : "5136756a0-2a40-46a5-a970-6f08bf1678af",

"encryptedCredential" : "Q180YWZlMTA3Yi0xZTAxLTRmOTEtYTMyZC0wNmNlZmE2ZDc3YmQiDQp9ogIktleSIsDQogICJTZWNyZXRDb250ZW50VHlwZSI6ICJQbGFpbnRleHQiLA0KICAiQ3JlZGVudGlhbElkIjogIkRBVEFGQUNUT1JZQDJGQzkwMjlELUZGOE"

}

}

}

 

Thank you,

Sri

0 Replies