Blog

31 03, 2020

Number sequence consumption monitoring

By |2022-03-29T18:35:13+02:00March 31st, 2020|Categories: AX 2012|Tags: , , , , |0 Comments

Once a company has been live for a while and they are doing Business As Usual, they often forget about maintaining one critical area. The system is using Number Sequences as identifiers, for which we have fixed, allocated range of values. Typical example is a general financial journal with a format like JNL18-###### with values between 000001 and 999999. Number Sequence consumption monitoring is essential!

If the sequence reaches the maximum value, you are no longer able to create new financial journals. Sometimes it is obvious when a number is about to run out, but in many cases AX has it hidden on a transactional level that is not necessarily visible for the users. When the sequence runs out, it can cause serious issues:

  • database locking
  • error messages
  • rolled back transactions.

Proactive monitoring is key to a healthy ERP system on many levels. Number sequence consumption monitoring is no exception. We are running a Transact-SQL script that keeps tracking of the number sequence utilization, and sends out an e-mail with entries reaching a set threshold. We are running the job based on a weekly schedule. We include any sequences that have used up at least 70% of their available range.

Number sequence consumption email
(more…)
19 03, 2020

Archiving SQL database backups using Azure blob storage

By |2020-03-23T13:39:50+01:00March 19th, 2020|Categories: AX 2012, Dynamics 365 for Finance and Operations, MSDyn365FO|Tags: , , , , , , , , , |0 Comments

It is a good practice to keep multiple copies of our most precious data. By using on-premises SQL Server databases for AX 2012 or Dynamics 365 Finance and Operations, archiving SQL database backups to offsite-locations are a must. I have built automation for archiving SQL database backups using Azure Blob Storage.

Overview of the processes

Maintenance regime

Our maintenance regime looks like the following:

  • 1x Weekly Full backup
  • 6x Daily Differential backup
  • 15 minute Transactional log backups

They are captured locally on the primary SQL instance, to keep the timestamps for last successful backups in our AlwaysOn cluster. Then we move the files to a shared network storage, which is visible to both High Availability sites, in case there is an outage and we need to a fail over and restore data.

In case of a natural disaster due to the close geographical proximity of the sites we needed an additional layer of safety.

Archiving offsite

Every night we are running a PowerShell script that uses the AzCopy utility. It is uploading our backup files on a Microsoft Azure cloud storage account.

You are paying for the network usage (IO) and the size occupied on the disks, so it is a good idea to have some sort of housekeeping. Our solution was to use an Azure RunBook to determine what to keep and what to delete. The current setup is to have 1 full backup file for a year available every quarter (4x 400 GB), and keep all full / differential / transactional files for the last month (4x 400 GB + 26x 10 GB).

This puts the total size occupied around 4 TB, and costs about 35 GBP a month using a cold storage. This price could go up if you also want to utilize a hot tier storage for the latest backup set. That is useful if you want to come back from the cloud on a short notice.

(more…)
9 03, 2020

Dynamics Zero to Hero introduction vlog

By |2022-03-29T21:25:53+02:00March 9th, 2020|Categories: Dynamics 365 for Finance and Operations, MSDyn365FO|Tags: , , , |1 Comment

As it has been announced last week the Dynamics Zero to Hero channel is now up and running on YouTube. The brief introduction video is now up, and there are more to follow in the upcoming days and weeks:

Being nervous does show, and it does not help with my accent :)
I am sure the content is going to make up for the lack of vlogging experience on the long run, hopefully you will like it.

If you have topics you would like me to touch up on, feel free to leave a comment, or send an e-mail.

5 03, 2020

Plans for 2020 and going forward

By |2020-03-09T02:07:50+01:00March 5th, 2020|Categories: Dynamics 365 for Finance and Operations|Tags: , , , , , |0 Comments

It has been a quiet couple of months as the community has probably noticed by the lower number of blog posts and forum answers. Working on our MSDyn365FO upgrade at JJ Food Service has been a demanding task, but progress is steady. Now it is time to do the plans for 2020.

Soon I can get back to publishing blog articles on a regular basis. Not just that, but the big announcement is: DAXRunBase is going online with Video Logs!

Plans for 2020 - vlog

Make sure you bookmark and subscribe for the Dynamics Zero-To-Hero channel.

(more…)

21 02, 2020

Dynamics 365 Dubai Summit 2020

By |2020-02-21T10:48:51+01:00February 21st, 2020|Categories: Dynamics 365 for Finance and Operations, MSDyn365FO|Tags: , , , , |0 Comments

With only 1 week left until the Microsoft Dynamics 365 Dubai Summit 2020, I would like to remind you that there are still a couple of sets available for this amazing, free event.

Dubai Summit 2020

Dubai Summit 2020 website link

This is one of the largest conference in the region dedicated to Dynamics 365 with 5 tracks available in: Finance and Operations, Customer Engagement, Retail, Unified Operations and Power Platform.

It falls in line with the Dynamics 365 Saturdays event series, which has a goal of sharing the latest and greatest about our ERP platform and connected technologies freely. You can find more details at https://www.365portal.org/.

The Dubai Summit conference is a 365 Saturday on steroids and will be span across 3 days, 700 participants, with 29th of February being dedicated for various in-depth sessions held by fellow professionals and enthusiasts from Microsoft, Customers and Partners. Sunday will be a Power Platform bootcamp, and Monday will be a CDS core exam cram.

I will be presenting 2 sessions about the journey of moving the AX 2012 R3 implementation of JJ Food Services into the cloud. It will cover business and technical aspects and challenges of getting a large-scale enterprise system up and running within Azure.

Hope to see you all soon at the Dynamics 365 Dubai Summit on 29th of February!

Go to Top