Azure Service Bus Messaging with Dynamics 365 Plugin

Dynamics 365 is able to post messages to cloud apps listening on the Azure Service Bus. Here we will go through setting this up and posting a message. First, log onto Azure Portal. Select New and search for and select Service Bus: Click Create: Provide the namespace information and click Create: Open the Service Bus and select Queues: Add a Queue: Enter a name and click Create:   Open the … Continue reading Azure Service Bus Messaging with Dynamics 365 Plugin

Automatic Shutdown of Azure VMs

Azure Virtual Machines have a feature to configure automatic shutdown of the machine. This can be useful to save Azure resources. To enable this, go to your Azure Virtual Machine in the Azure Portal. You will see Operations->Auto Shutdown. Here you can enable or disable this feature, as well as set a time and notification for the shutdown:  

Deleting a Virtual Machine in Azure

To delete a Virtual Machine in Azure, log into https://portal.azure.com/ and select Virtual Machines. Select the machine to delete and click Delete: You will see below. Type yes to confirm the delete and press Delete:  

Introduction to Serverless

In the past, with cloud computing, if an organization was deploying and scaling an application, they would provision a server or servers and deploy the app. The more workload the app received, the more servers could be provisioned to distribute the workload. This model worked, and still works, very well in terms of scaling apps. However, there were disadvantages with doing this. Depending on your app, provisioning an entire server … Continue reading Introduction to Serverless

Azure Cloud Shell

Azure Cloud Shell is an interactive shell for Azure, which allows you to manage your Azure resources. This is useful in that you don’t need to install other tools to run commands – you can do it directly from within a browser. The tool currently supports Azure CLI 2.0. To access the cloud shell, log into portal.azure.com and select the Cloud Shell icon on the right: The browser will then … Continue reading Azure Cloud Shell

Azure Service Bus Sample

Azure Service Bus is an enterprise cloud messaging service for offline and online applications and services. Let’s go through an example of how to use this. Log into the Azure Portal at  https://portal.azure.com. Select + Enterprise Integration->Service Bus: Enter details and click Create: Select the Namespace created and then Shared Access Properties->RootManagerSharedAccessKey: Copy the connection string primary key: Also copy the primary key and paste this somewhere for later, e.g. … Continue reading Azure Service Bus Sample

Register an App with Windows Azure

The following steps show how to register an application with Microsoft Azure. This app can then be used for OAuth 2.0 authentication outside of Dynamics CRM. Log into portal.azure.com as your Dynamics CRM administrator. Select Azure Active Directory from the menu on the left: Select App Registrations: Select Add: Enter the name of the app, e.g. Test Basic App. Select the application type as Native: Click Create to create the app. … Continue reading Register an App with Windows Azure

Azure Key Vault

Azure Key Vault allows you to encrypt keys used for authentication, storage accounts etc, in the cloud. They keys are protected by hardware security modules, or HSMs. In portal.azure.com, you can manage Key Vaults by searching for it in the menu:   Select Key Vault and Create: Create Key Vault will be created:  

Azure Active Directory Users and Groups

To manage users and groups in Azure Active Directory, select Active Directory in portal.azure.com: To add a new group, select Users and Groups->All Groups->Add: Enter a group name and click Create: To add new users, select All Users->Add: Enter in details and click Create: You will then be able to manage the user:  

Azure Active Directory User Joining

When a user is added to AAD, the user will receive an email: Click on the email and provide new login information below: Check email and enter verification code: When complete: