Forum Discussion
Custom Connector to Azure Monitor
Hi Rajesh,
Though I don't know much about Azure Monitor, I'm afraid you understandings is for Power BI Embedded rather than Custom Connector. In other words, we don't need to register our connector or get client secret/id.
1. It's Azure Monitor REST API that we need.
2. We can use the Azure account.
3. Please refer to samples/TripPin/2-Rest for how we can use REST Service in customer connector.
Best Regards,
Dale
Hi Dale,
Thanks for your help so far! I'm working with Rajesh on the Custom Connector, and while we plan to integrate Azure Monitor, we're starting with the Azure Data Factory REST API. Is the authentication flow the same for both services?
I've worked through the TripPin REST tutorial, and while I was able to access the sample data, the credentials were not valid for reaching the data factory in my Azure account. How do I set the credentials to the active Azure account?
Some context for the current code:
1. My Azure account (used to log into Power BI and to store the target data) is a global administrator, so permissions should not be a concern
2. I'm using the url from the Factories - List documentation page, using the subscriptionId string generated in the "Try It" interface, which was able to successfully retrieve the data through that web page
3. Both testing in Visual Studio and uploading the .mez file as a custom connector to PowerBI resulted in the same authentication error
4. In the Data Source Kind definition, the authentication type is set to Implicit, as in the TripPin tutorial
Best wishes,
Katherine