I'm wondering anyone knows if there's a way to use an Azure App Registration to connect to Dynamics 365 online using a client secret. In our custom apps, we're using a connection string looking like this:
If this is not possible, is there any other supported way to make the connection outside of using a username and password? Our security policies require us to have multi-factor auth turned on, which is preventing me from making the connection that way. The following leads me to believe that setting up a Location condition in Azure is the suggested way of obtaining two factor auth for an account without use of a token. I just want to make sure I am headed in the right path:
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/location-condition