Hi @kiran_g ,
Please find the below solution.

If you want to replicate, please copy the below code into PAD.
Code:
@@path: '/Desktop/Power Automate Desktop/Practice/Config/Config File.xlsx'
@@connectionDisplayName: 'Cr442c5_shared_onedriveforbusiness_90c6768d'
External.InvokeCloudConnector Connection: '08e55503-915f-405b-b926-dad910b66e58' ConnectorId: '/providers/Microsoft.PowerApps/apis/shared_onedriveforbusiness' OperationId: 'GetFileContentByPath' @path: $'''/Desktop/Power Automate Desktop/Practice/Config/Config File.xlsx''' @inferContentType: True @GetFileContentByPathResponse=> GetFileContentByPathResponse
File.ConvertFromBinary BinaryData: GetFileContentByPathResponse File: $'''C:\\Users\\Desktop\\File from Onedrive.xlsx''' IfFileExists: File.IfExists.Overwrite
# [ControlRepository][PowerAutomateDesktop]
{
"ControlRepositorySymbols": [],
"ImageRepositorySymbol": {
"Repository": "{\r\n \"Folders\": [],\r\n \"Images\": [],\r\n \"Version\": 1\r\n}",
"ImportMetadata": {},
"Name": "imgrepo"
},
"ConnectionReferences": [
{
"ConnectorId": "/providers/Microsoft.PowerApps/apis/shared_onedriveforbusiness",
"DisplayName": "Cr442c5_shared_onedriveforbusiness_90c6768d",
"InternalId": "08e55503-915f-405b-b926-dad910b66e58",
"IsDisabled": false,
"LogicalName": "Cr442c5_shared_onedriveforbusiness_90c6768deaeb42148068fc0fdc8e1b38",
"IsEmbedded": false,
"ConnectionName": "shared-onedriveforbu-6b580db1-68b7-489d-9b20-b1c7d33ac4f7",
"ConnectionDisplayName": "Varikutivishnuvardhan.Reddy@cyient.com"
}
]
}
Thanks,
Vishnu Reddy
-------------------------------------------------------------------------------------------------------------
If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers