D365: Post custom message to Session Enabled Service Bus Queue C#

In one of my previous posts, https://ajitpatra.com/2019/12/09/d365-post-custom-message-to-azure-service-bus-queue-c/, we had gone through how to post custom message to a service bus queue. In this post, we'll see how we can post the same message to a session enabled queue. We have to make few lines of code changes in PostMessageToServiceBusQueue method of this post as shown … Continue reading D365: Post custom message to Session Enabled Service Bus Queue C#

Advertisement

Using Service Bus Triggered Azure Durable Function with D365 CE

In this post, we'll see how we can use Service Bus triggered Azure Durable Function with D365 CE to perform CRUD operation. Requirement: When Rate Amount(custom field) field changes in Rate(custom entity) record, update Rate(custom field) field on related(Revenue Schedule Line(custom entity)) records of the corresponding Rate record. Of course, there are multiple ways to … Continue reading Using Service Bus Triggered Azure Durable Function with D365 CE

D365: Service Bus Triggered Function Error: Cannot bind parameter ‘parameterName’ to type MessageReceiver. Make sure the parameter Type is supported by the binding

Recently, we were working on Service Bus Triggered Azure Durable Function. After writing the necessary code, we deployed the Durable Function to Azure. After deploying, while trying to test the function, we faced one weird issue saying "Error: Microsoft.Azure.WebJobs.Host: Error indexing method 'AzureFunctionName'. Microsoft.Azure.WebJobs.Host: Cannot bind parameter 'parameterName' to type MessageReceiver. Make sure the parameter … Continue reading D365: Service Bus Triggered Function Error: Cannot bind parameter ‘parameterName’ to type MessageReceiver. Make sure the parameter Type is supported by the binding

D365: Service Bus Triggered Function error: Connection string ‘AzureWebJobsServiceBus’ is missing or empty

Recently, while working on Service Bus triggered Azure Durable Function, we got an error saying "The function runtime is unable to start. Microsoft.Azure.WebJobs.ServiceBus: Microsoft Azure WebJobs SDK ServiceBus connection string 'AzureWebJobsServiceBus' is missing or empty". Below is the code that we were using: [FunctionName("UpdateGlobalRatesOnRSLs")] public static async Task Run([ServiceBusTrigger("%QueueName%")] Message message, MessageReceiver messageReceiver, string lockToken, … Continue reading D365: Service Bus Triggered Function error: Connection string ‘AzureWebJobsServiceBus’ is missing or empty

D365: Post custom message to Azure Service Bus Queue C#

In this post, we'll see how we can post custom message to Azure Service Bus Queue. Let's go to Azure portal and Create a Service Bus Namespace. Search for Service Bus Click Create Give a Name and Click on Create After creating Service Bus Namespace, Browse through it and go to Shared Access Policies. Click … Continue reading D365: Post custom message to Azure Service Bus Queue C#