Subscribe to Azure Cloud Partner Portal

血红的双手。 提交于 2019-12-11 06:16:39

问题


I am trying to automate the offer publishing process on Azure Cloud Partner Portal.

I would like to get notified when the offer reaches the preview stage. One way to do this would be to deploy a serverless function which polls the cloudpartner api to check the status of the offer.

I was wondering if there was a cleaner solution to this problem though. I have been reading about Event Grid at the following page: https://docs.microsoft.com/en-us/azure/event-grid/overview

It seems like there is a possibility to configure an event source if the event is within the subscription, but this event is not in the subscription but rather at the Cloud Partner Portal level.

Is it possible to achieve what I am looking for with a pub-sub model?


回答1:


The Azure Cloud Partner Portal (CPP) REST APIs allow only notification via the e-mail, there is no publishing to the weebhook endpoint.

The workaround for that notification is using a 3r party e-mail integrator, for instance: Zapier.

The following screen snippet shows how easy can be integrated the Azure CPP to the Azure Event Grid using the Zapier. The notification e-mail can be used also direct to zapiermail.com.

Note, that also can be used an Azure Logic App instead of Zapier as an integrator, see the following screen snippet:



来源:https://stackoverflow.com/questions/58842232/subscribe-to-azure-cloud-partner-portal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!