No, the MS-side of things to create an app registration, set the permissions, generate the "app secret", and adjust permissions via a Powershell script to limit the scope of the permission is manual only. You really wouldn't want any of that stuff to be able to be automated due to the security implications.
I am in the same boat. My company uses Office365 and while we have been tying into SMTP via basic auth to an Office 365 account that had send-as rights, that is coming to an end in October by Microsoft.
mobdro
vidmate
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.