Edit /etc/piler/config-site.php or the site specific config if you have the multitenant license, and set the following:
$config['ENABLE_AZURE_AD'] = 1;
$config['AZURE_AD_CLIENT_ID'] = '1b0a2f95-6630-4992-a561-4c38e33eed23';
$config['AZURE_AD_CLIENT_SECRET'] = 'SfWsw~sbd.-qw-4ahF2tJ~0HM.aoPL0di4';