Search code examples
permissionsazure-blob-storageazure-data-factoryazure-resource-group

Data Factory trigger on Blob in different resource group is failing


I have a requirement where I have a Data Factory in one resource group and a blob storage in another storage group. I need to create a trigger on Data factory pipeline when a blob created in blob storage. I am getting this error while my pipeline is invoked.

The Microsoft.EventGrid resource provider is not registered in subscription ***** . Register the provider in the subscription and retry the operation. 
Activity id:6566a4c8-0a1c-4a9e-8940-ce62e43264e3, timestamp: 6/26/2020 8:02:56 AM (UTC)

As I understood from error, its permission issue but I am not sure how I can enable this connectivity. Can anyone help.


Solution

  • So from the error, I think you should follow these steps:

    Go to azure portal, and go to your subscription:

    enter image description here

    enter image description here

    enter image description here

    Search Microsoft.EventGrid in resource provider and then register Microsoft.EventGrid.

    Let me know whether you can solve this problem.:)