Tuesday, November 30, 2021

Upgrade from classic authentication experience in Azure Functions

The classic Authentication / Authorization experience in Azure Function apps will be removed from the Microsoft Azure portal in December 2021. As a result of a lack of Microsoft documentation, we don't know currently what side effects this change will bring to the way how authentication will be handled for Azure Function apps that remain in the old model. To avoid potential issues, I've followed the Microsoft instructions and upgraded to the new authentication experience. For more details, see how to configure your Azure Function app to use Azure Active Directory login

The following steps describe how I upgraded from the classic authentication experience in a secured Azure Function app:

1. Go to the Azure portal > Your secured Azure Function app  > Authentication

2. If the Authentication page shows a warning indicating that the classic Authentication experience will be removed and it includes an Upgrade button, it means that the classic Authentication experience is still in use:


However, if you experience an UI that is different than the one demonstrated in the previous image, the Azure Function app already uses the new experience and no further actions are required.

3. To upgrade to the new Authentication experience, click on the Upgrade button. Now, read the instructions carefully and click again on Upgrade:


4. Wait for the upgrade to complete, which might take a few seconds.

5. After the upgrade to the new Authentication experience has finished, you will see an UI that is similar to the one demonstrated in the following image:


The upgrade process is done if you have followed all the previous steps.

Thanks for reading,
Jarbas