How to create db on fly and read azure ad setting if available else to show the form to user to add details I have configuration reading in my program class as below