Could not get the primary storage key for the public config storage account ‘storageaccount1;AccountKey=xyz’. Unable to apply any diagnostics extensions.

This issue in Azure Devops can be very hard to debug. This is what it initially shows in the logs: