

And there has been significant confusion about which IDs to copy to execute these commands. They are not all copy-paste commands - you must copy IDs from different places in the Azure portal. The end-user is also expected to execute about 6 Power Shell commands in Azure Portal's PowerShell.

That documentation is confusing, and there are errors the number of posts on the net about this document is a testament to its lack of clarity. Only recently (about a month ago) did they publish a document on how to get this done for IMAP. They didn't have this for IMAP almost a year ago and still don't for SMTP. While we can debate the correctness of their decision - some could say why not leave the choice to the end-user - the main problem was that it was not clear how to move to the new authentication system in server-based applications such as ours where we don't have an end-user to authorise the request. Three years ago, Microsoft announced their intention to disable basic authentication to connect to mail servers.
