Power BI Refresh Error:
Fabric Pipeline Error 2502
What does this error mean?
The pipeline cannot access the storage account associated with the Azure Batch activity due to an incorrect account name or access key. Verify your storage account credentials in the linked service.
Common causes
- 1Incorrect storage account name specified in the Batch-linked storage connection
- 2Expired or rotated storage account access key not updated in the linked service
- 3Storage account was deleted or renamed after the linked service was created
- 4Linked service was not re-published after credential changes were made
How to fix it
- 1Step 1: In the Azure Portal, navigate to the storage account used by your Azure Batch activity and go to Access Keys to retrieve the current key1 or key2 value.
- 2Step 2: In Microsoft Fabric Data Factory, open the linked service for this storage account and update the access key with the value from Step 1.
- 3Step 3: Confirm the storage account name in the linked service exactly matches the name shown in the Azure Portal (names are case-sensitive and must not include the full URL).
- 4Step 4: Click 'Test connection' in the linked service editor to confirm the updated credentials are valid.
- 5Step 5: Re-publish the pipeline and re-run it to confirm error 2502 no longer appears.