Note: As of July 2023, Microsoft changed the name of its Azure Active Directory product to Microsoft Entra ID.
This article explains how to configure OAuth 2.0 authentication with Azure AD. In the OAuth 2.0 authentication type, you can find a new option called IDP that lets you switch from default to Azure. If you select Azure, all the fields will be filled automatically and you will only have to configure the following properties:

Client ID: client_id Value: <clientid>
Client Secret: client_secret Value: <clientsecret>
Redirect URL: redirect_uri Value: https://<server>/webapp
Note: To learn where you can find these parameters, please read the
Azure AD article.

In the link https://login.microsoftonline.com/{tenat}/oauth2/v2.0/authorize you must change {tenat} with your tenat.
See yours in the following panel.

Since GeneXus 18 Upgrade 3.
HowTo: Authenticate to Azure Active Directory using GAM