Logics App cannot connect to Blob

Anonymous
2022-09-20T11:16:37.503+00:00

I am trying to create a flow where when a file is dropped in Onedrive for business, it gets saved to blob storage. However, no matter which action I try for blob storage, I keep getting this error

Please check your account info and/or permissions and try again. Details: Storage Account Access Key should be a correct base64 encoded string. clientRequestId: 7daaa294-f7e9-4240-85ac-418ea215c74d More diagnostic information: x-ms-client-request-id is '5AF771FC-D88E-40CD-A886-D04752C5101A'

I am copying the key from the storage account and the account name from the account name. Any ideas?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Nasreen Akter 10,891 Reputation points Volunteer Moderator
    2022-09-20T12:13:36.017+00:00

    Hi @Anonymous ,

    Thank you for the ask.

    This is strange. If you provide the storage-Key either Key1/Key2, API Connection should work. I was wondering if you were trying with ConnectionString instead of the KEY. Please go to the Storage --> Access Keys to find the storage account name and key1 / key2. Thanks!


  2. MayankBargali-MSFT 70,991 Reputation points Moderator
    2022-09-20T13:20:00.813+00:00

    @Anonymous As per the error the storage key is not base 64 encoded string. There might be special characters while copy pasting the key. Please make sure that you are using the copy to clipboard option to copy the key and not selecting the key string and copying it. The best way to valid the copied string is using any editor like notepad++ (encoding ANSI) or command prompt (cmd) pasting the key to valid is there is special character.

    242969-image.png

    In case if you are still facing the issue then I can connect offline to assist you further.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.