
Hello ,
I have a Entity in dataverse in which i have an attachment column where i am uploading a PDF from dynamics CRM.
When i am trying to download it on click of button in powerapps by using Download() function by passing the file URL.
Example - Download(https://{orgname}.crm8.dynamics.com/api/data/v9.0/{entity_Schema_name}(GUID_Of_the_record)/{attachment_field_Schemaname}/$value)
When i am passing this URL and using the Canvas app in web browser the file is getting downloaded fine.
But when i am trying to download in android mobile powerapps on click of the button i am getting the following error "There was a problem downloading the specified content locally".
I even tried using Launch() function but since its my personal phone the browser which it is launching is not logged into dynamics CRM, i tried logging into dynamics and then tried the Launch() function with the same URL, the error says "The user is not a member of the organization" code :0x80072560.
But the same works in web browser.
I am not sure what i am missing or doing wrong here.
Please let me know your thoughts on this.
TIA