Sample: Azure aware custom plug-in
The plug-in demonstrates how to obtain the execution context and the tracing service from the service provider parameter of the Execute
method. The plug-in then posts the context to the Azure Service Bus endpoint and writes information to the trace log to facilitate debugging.
How to run this sample
- Download or clone the Samples repo so that you have a local copy.
- Open the
Azureplugin.sln
solution file located atPowerApps-Samples\dataverse\orgsvc\C#\Azureplugin
with Visual Studio. - Sign the assembly with a key.
- Register the plug-in using the Plugin Registration Tool.
Note
This sample requires a service endpoint to be created first, and its ID passed to the plug-in constructor through the unsecure configuration parameter when the plug-in step is registered.
More information: