Options for obtaining an access token with Azure application to application authentication

In this post we will take a look at a few different options that we can use, to get an access token so that a daemon application (say client) can communicate with another application (say server). Both client and server applications can be developed as Azure app services and/or Azure function. In this post we will be sticking with Azure functions for both client and server where needed.