• Manually Creating Dynamics 365 Portal Users with an Azure AD B2C Connection

      Jordan Hohepa, 10 February 2020

      Recently I configured the identity management service Azure AD B2C to handle the Sign Up and Sign In for a Dynamics 365 Portal. When accessed, the Portal will immediately send the Portal User to Azure AD B2C, allowing them to either Sign In with their existing account details or Sign Up by entering

      Read the full article here
    • Updating the execution files of a Microsoft Azure WebJob

      Zoe Sands, 15 July 2019

      This blog is a continuation of my series on how to create and use WebJobs (available here: pt1, pt2).Requirements change and we all must update our logic at some point. When updating a WebJob this can be done in a few ways, such as using an FTP or alternatively you can use the App Service Editor. Th

      Read the full article here
    • Collecting logging in a Microsoft Azure WebJob

      Zoe Sands, 26 June 2019

      A triggered WebJob can handle its own logging and can be accessed by selecting your triggered WebJob then selecting logs as shown. Logging in a continuous WebJob is a little trickier. This is because there is technically no endpoint, as soon as it finishes running it runs again. With a triggered We

      Read the full article here
    • Creating WebJobs in Microsoft Azure

      Zoe Sands, 24 June 2019

      When working in CRM and other database systems we sometimes find that we need to automate pieces of work that cannot be handled within our system. This could be things like synchronizing data between two systems or sending daily notifications to users about work that is with them. In an On-Premise C

      Read the full article here
    • Stopping Azure WebJobs easily with Configuration Settings

      Jared Johnson, 12 June 2019

      If you have a lot of WebJobs, you may be wanting an easier way to start and stop them without having to push the start/stop button on all of them, or worse for scheduled jobs since you cannot do that with a button press from the UI. There is however an easier way to do this via Application Settings

      Read the full article here
    • Working with the settings.job file of an Azure Web Job

      Jordan Hohepa, 27 September 2018

      When creating an Azure Web Job, you have the option to create a ‘continuous’ web job or a ‘triggered’ web job. With triggered jobs you can decide whether this should only be triggered manually or be triggered on a schedule. The screenshot above shows a web job which is set to be triggered every 30

      Read the full article here
    • Dynamics 365 Online ADFS Authenticate with User Credentials

      John Towgood, 14 September 2018

      For a typical setup of a Dynamics 365 Online instance, authentication is done against Azure Active Directory using OAuth2.0 as an authentication method with an access bearer token issued. But occasionally we come across Dynamics 365 Online instance setup against ADFS which involves a two-step proce

      Read the full article here
    • Triggering Scheduled Azure WebJobs via a Dynamics 365 Web Hook

      Jared Johnson, 06 April 2018

      Web Hooks were introduced in Dynamics 365 V9. In the documentation for Web hooks, it is recommended to use them with Azure Functions, but what if you have existing Azure WebJobs? For example, WebJobs that are designed as a scheduled service to run complex rollup calculations on recently updated reco

      Read the full article here
    • Using a Console Application in an Azure Web Job to Perform Scheduled Tasks

      Jordan Hohepa, 11 January 2018

      Recently I was tasked with developing a scheduled service which would be hosted in Azure. This service needed to retrieve data from a database and update the corresponding records in a Dynamics 365 instance. For this I decided to go with an Azure Web Job, over other options like Cloud Services and A

      Read the full article here
    • Preventing Idle Timeout in Triggered Azure WebJobs Jobs

      Jared Johnson, 15 May 2017

      After setting up a Triggered Azure WebJob, you may run into the confusing error message in the logs after running it of “…aborted due to no output and CPU activity for 121 seconds. You may increase SCM_COMMAND_IDLE_TIMEOUT setting to solve the issue”. This is confusing as the SCM_COMMAND_IDLE_TIMEO

      Read the full article here
    • Microsoft PowerApps and Dynamics 365 OnSelect Example

      Arpit Malhotra, 28 February 2017

      Microsoft PowerApps provides the ability to users at any level in an enterprise to create fully functional apps without having to write any code or any app development skills. You can use pre-built app templates or start from scratch and connect to your existing services such as Excel, Dynamics 365,

      Read the full article here
    • Microsoft Dynamics 365 Business Application Platform in a nutshell

      Arpit Malhotra, 25 January 2017

      Microsoft’s business application platform let organizations innovate business solutions faster. It helps them to build and extend modern business applications by composing analytics, user experiences, tasks automation all together using a wide-ranging and integrated set of services. It offers a rich

      Read the full article here
    • Intro to the Bot Framework with Dynamics 365

      Jordan Hohepa, 16 January 2017

      Since Microsoft’s Build 2016 Conference there has been a huge buzz around Artificial Intelligence Bots and Microsoft’s Bot Framework for developers, and recently I have been diving into the discovery and development of these bots for different platform. Bots aren’t anything new, they’ve been around

      Read the full article here
    • Resolving Cryptography issues with the Dynamics CRM SDK in Azure Web Apps

      Jared Johnson, 18 December 2015

      When attempting to run applications that use the Dynamics CRM SDK in Azure Web Apps, you can get an exception when the app is trying to connect to CRM that looks like this: “ERROR: System.Security.Cryptography.CryptographicException: The data protection operation was unsuccessful. This may have been

      Read the full article here
    • Microsoft Azure API App Invalid Swagger error

      Jared Johnson, 02 June 2015

      In trying out the new Azure API apps by converting an existing ASP.NET Web API, you can run into this error as soon as you publish your API to azure for the first time and check out the API definition blade: Trying to add the API as an Azure App client can get you nicer errors like: "Found operat

      Read the full article here