Disable MFA prompt – Skip for now (14 days until this is required)

Reading Time: 3 minutes

What is Multi Factor Authentication (MFA)?

Multi Factor Authentication (MFA) is a process where a user is prompted during the sign in process for an additional form of identification, such as entering a code which is sent to a mobile phone.

If you only use a password to authenticate a user, it leaves an insecure vector for attack. If the password is weak or if has been exposed, how do you know that the person signing is really the user signing in with the username and password, or if it is an attacker? When a second form of authentication is required, security is increased as this additional factor isn’t something that’s easy for an attacker to obtain or duplicate. A password alone is of no use to them.

Security Defaults

Microsoft provide and Security Defaults to keep your accounts secure. When a user logs in they will see the screen below, allowing them to skip the setup of MFA for 14 days.

This blog post goes through the process of enforcing MFA so that it is mandatory for the user to setup MFA, and the option to skip for MFA setup for 14 days is no longer available.

  1. Access the Azure Portal portal.azure.com

2) Click Azure Active Directory

3) Click Users

4) Click Multi-Factor Authentication

5) For the purpose of this demo, I am selecting an existing user Cloud Build User 1

6) Click enable

7) Click enable multi-factor auth

And we’re done

Now, when the same user logs in, the option to skip MFA setup for 14 days is no longer visible.

The user will be prompted to go through the wizard and setup MFA

Azure AD free only offers MFA via the authenticator app for normal domain accounts. See comparison chart below

Source: Features and licenses for Azure Multi-Factor Authentication

How to install Azure Storage Explorer

Reading Time: 2 minutes
  1. Download Microsoft Storage Explorer from https://azure.microsoft.com/en-us/features/storage-explorer/#overview
  2. Run the installer and accept the agreement if you wish to continue

3. Click Next

4. Click Next

5. Storage Explorer is installing. Takes a couple of minutes

6. Installation complete, click finish

You can now start configuring access to your storage account as per your requirements

Create an Azure Log Analytics workspace and add a Virtual Machine

Reading Time: 4 minutes

This blog post will go through the process of creating an Azure Log Analytics workspace and connecting a test azure virtual server to the Log Analytics workspace. We will then setup the work space to collect System event logs from the test Azure VM.

1) Login to the Azure Portal

2) Search and select Log Analytics workspaces

3) Click Create Log Analytics workspace

4) Configure:
– Give your new Log Analytics workspace a name
– Select your subscription
– Select a Resource Group
– Select Location
– Pricing Tier (Only one pricing Tier exists as of the year 2018). At the time of writing this blog post, the one available Tier was named Pay-as-you-go (Per GB 2018)

5) Click OK

6) Now that you have created your Log Analytics workspace, let’s join a VM to this new work space

Note that adding servers to the work space will automatically deploy a monitoring extension (agent) to the server

7) Click your new Log Analytics workspace

8) From the left pane under Workspace Data Sources, click Virtual Machines. As you can see from the screenshot, you can also connect other resources to your workspace


Note: Workspaces work across different regions, so you could add servers to a workspace no matter what region they are located in.

9) As you can see from the right pane, I have two virtual servers and the Log Analytics Connection is showing as not connected

10) Click a VM you wish to add to this work space (Ensure the VM is powered on)

11) As you can see from the below screen shot, the server is not connected to the work space, but we have the option to connect.

12) Click Connect

13) Wait for the virtual server to connect (A monitoring agent (Extension) is being deployed to the virtual server)

14) Now that the machine is connected to your workspace, the status is displayed as below. If you wish to disconnect, click disconnect.



Note: Now that the extension agent is deployed, you will find that the monitoring agent has been deployed to the VM. Locate the VM under virtual machines and click extensions from the left pane. The screenshot below shows the MicrosoftMonitoringAgent has been provisioned successfully.

15) If we go back to our workspace, we’ll find the server is now showing as a connection of this workspace along with a green tick.

16) Now, let’s enable logging for this workspace. Note that these logs will apply for all resources attached to this resource, so if you have different logging requirements for different resources, create different work spaces. You could also complete this step straight after the Logs Analytics Workspace has been deployed.

17) Click on your Log Analytics Workspace, and click Advanced Settings from the left pane.

18) The screen below will appear

Note: If you wish to connect physical servers to your Log Analytics Workspace, you can do so by downloading the required agent.

19) Click Data

20) A few different options appear which may be of interest to you. For this demo let’s click Windows Event Logs. Click the plus icon (blue box) to the right of the screen

21) For this demo, we will monitor the system logs, type system into the text box, select system and click the plus icon located within the blue box.

22) All logs are selected by default. You can select the logs as per your requirements.

23) Click Save and OK

Hope this helps 🙂

Save Costs with Azure Advisor

Reading Time: 2 minutes

Azure Advisor is a great feature which provides recommendations on High Availability, Security, Performance and saving costs. Yes, that’s right, Microsoft help you save costs. It’s not all about making money for Microsoft, they want to help their customers save costs.

So how do they help customers save? Well, Microsoft will scan your Azure environment and report back any services which you could delete or downgrade via Azure Advisor. Services include:

– Optimize virtual machine spend by resizing or shutting down underutilized instances

– Reduce costs by eliminating unprovisioned ExpressRoute circuits

– Reduce costs by deleting or reconfiguring idle virtual network gateways

– Buy reserved virtual machine instances to save money over pay-as-you-go costs

– Delete unassociated public IP addresses to save money

– Delete Azure Data Factory pipelines that are failing

– Use Standard Snapshots for Managed Disks

How to access Cost recommendations in Azure Advisor

1) Login to the Azure portal
2) Search for and select Advisor

3) On the Advisor dashboard, select the Cost tab

It’s good to know that Microsoft are looking out for their customers when it comes to costs savings. It’s not all about making money for them, but they are passing down savings to the customers aswell.