Scheduling a Web Job (console application) using Azure Scheduler

Nishant Rana's Weblog

Refer this as well https://nishantrana.me/2018/02/22/update-schedule-of-existing-azure-webjobs-triggered/

Let us a create a simple console application that writes Hello World to the console which we would be scheduling using Azure Scheduler.

Have kept the example simple so that we can understand the configuration part.

Right click on the project and Publish it as Azure WebJob

We will set the mode as “Run On Demand”

For the pubish target we have selected Microsoft Azure App Service web app under which this Web Job will run.

Select the App Service or configure a new one, we have selected the existing App Service below

Click on Validate to check the connection, if everything is fine Click Next and Publish the web role.

Our TriggeredWebJob inside CRMAzureWebJob App Service

We can run it on Demand by clicking on Run.

Clicking on Logs

Will provide the details of the Web Jobs

Now to schedule the Web Job…

View original post 201 more words

Metadata contains a reference that cannot be resolved : ‘https://disco.crm8.dynamics.com/ XRMServices/2011/Discovery.svc?wsdl&sdkversion=9’.

This error is facing while connecting to dynamics CRM from console application because this problem occurs when the client computer cannot send an HTTP request. The client computer cannot send the HTTP request because the connection has been closed or is unavailable. And Today I realize that My DB server was using TLS1.2 not SSL as a protocol to … Continue reading Metadata contains a reference that cannot be resolved : ‘https://disco.crm8.dynamics.com/ XRMServices/2011/Discovery.svc?wsdl&sdkversion=9’.

Paging in Dynamics 365 Customer Engagement v 9.0

Paging in Dynamics 365 Customer Engagement v 9.0 : Day to Day Dynamics CRM going very interestingly with lot of exciting features has been . One of the interesting features is client side scripting in dynamics 365 customer engagement. If we want to retrieve multiple records , here is the syntax. Xrm.WebApi.retrieveMultipleRecords(entityLogicalName, options, maxPageSize).then (successCallback, … Continue reading Paging in Dynamics 365 Customer Engagement v 9.0

Insert logs into Local Drive

Insert logs into Local Drive : System.IO.StreamWriter Class Assembly: Mscorlib.dll Namespace: System.IO Stream Writer :    StreamWriter sw = new StreamWriter(str, true) Initializes a new instance of the Stream Writer class for the specified file by using the default encoding and buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, … Continue reading Insert logs into Local Drive