Sure, in Dolibarr you need the right scopes, in the E-Mail-Collector you do need the right password as well,
in Azure,
hope it is of any help.
PS I am still with PHP 7.4.33