Announcements
No record found.
Below is my code snippet. However, I got null everytime from the service. Any idea how can I resolve it?
IServiceEndpointNotificationService cloudService = (IServiceEndpointNotificationService)serviceProvider.GetService(typeof(IServiceEndpointNotificationService)); if (cloudService == null) throw new InvalidPluginExecutionException("Failed to retrieve the service bus service.");
Hello,
You will have to register service endpoint first using Plugin registration tool where you need to provide service bus connection string.
docs.microsoft.com/.../walkthrough-configure-azure-sas-integration
Service endpoints are already registered.
Hi,
Can you try executing below code without checking null to see if it works.
string response = cloudService.Execute(new EntityReference("serviceendpoint",
serviceEndpointId),
context);
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 77 Super User 2026 Season 2
Travis South 59
Daniyal Khaleel 41 Most Valuable Professional