Questions tagged [exchange-basicauth]

Specific tag for developers needing to change their code to use OAuth2.0 because of the retirement of Basic Authentication when accessing Exchange Online.

From Microsoft:

Beginning October 13, 2020, we will retire Basic Authentication for EWS, EAS, IMAP, POP and RPS to access Exchange Online. Note: this change does not impact SMTP AUTH.

and

If you have written your own code using these protocols, you will need to update your code to use OAuth 2.0 instead of Basic Authentication, you can reach out to us on stack overflow with the tag exchange-basicauth if you need some help.

More info: https://techcommunity.microsoft.com/t5/Exchange-Team-Blog/Upcoming-changes-to-Exchange-Web-Services-EWS-API-for-Office-365/ba-p/608055

29 questions
7
votes
3 answers

Modern Oauth2 authentication for sending mails using Nodemailer nodejs

I am using nodemailer to send email in my nodejs application. var payload = { auth: { user: smtpuser, pass: smtppass }, to : toAddr, from : emailfrom, …
yash dogra
  • 89
  • 1
  • 5
5
votes
1 answer

Timeline for adding Oauth2 support for IMAP

In this blog post it is mentioned that basic auth support for IMAP would be removed in October 2020. It also mentions Oauth2 support will be introduced soon. Could you provide any timeline for Oauth2 support? In our product for a use case, we rely…
bala
  • 311
  • 3
  • 11
5
votes
2 answers

Powershell, EWS, OAuth2, and automation

I am trying to find documentation on how to implement non-interactive Oauth2 authentication to EWS using PowerShell, but I'm probably not using the correct search terms, because I can't find anything useful. The Microsoft documentation I can find on…
Haruka Shitou
  • 63
  • 1
  • 6
4
votes
1 answer

Report for Basic Auth clients - is there one in Office 365 Console?

How to find out which clients or users are still using Basic Authentication for EWS, EAS, IMAP, POP and RPS to access Exchange Online? Is there a report from O365 Admin console? Thanks, M
Maelito
  • 45
  • 1
  • 1
  • 5
3
votes
0 answers

Alternative to Basic Authentication to send email from c# windows service

I have a C# windows service from where I send emails using SmtpClient and Basic Authentication. But as Microsoft is depreciating Basic Authentication as here, I want to know how I can send email from my windows service using OAuth or any other…
2
votes
1 answer

Access denied when using OAuth client credentials flow to create shared mailbox

Short version: How to correctly set up application permissions and/or role assignments and/or something else that I'm missing, so that application id/secret (OAuth client credentials) can be used to create shared mailboxes? So far I've tried couple…
Paul
  • 31
  • 4
2
votes
1 answer

Will IMAP using C# AE.Net.Mail work after desupport of basic authentication

Microsoft has announced end of life support for basic authentication for office 365 - the 13th October 2020. Will the AE.Net.Mail libaray (currently version 1.7.10.0) still be usable to connect after this date using var client = new…
Jonny
  • 796
  • 2
  • 10
  • 23
2
votes
0 answers

Command-Line Email for Microsoft Office365 for use with Request Tracker (After BasicAuth Is Retired)

We use getmail (http://pyropus.ca/software/getmail/) to retrieve email from Microsoft Office365 accounts and shuttle them into Request Tracker (RT - https://bestpractical.com/request-tracker). Since Microsoft has announced the end of BasicAuth and…
1
vote
0 answers

Taiko/Gauge - The Header Basic Authorization is getting mixed with the form Login

In Taiko/Gauge Framework, we try to implement Basic Authorization with Base64 encoding method to launch a website. It works fine. But, when we try to login as a user which is a form on the application flow, it is not getting logged in. When we do it…
1
vote
0 answers

Is Basic Auth for EWS going to be disabled soon?

Microsoft seems to want to start disabling Basic Auth for Exchange Online and mentioned ending support for EWS…
Alexander Zhidkov
  • 531
  • 1
  • 5
  • 16
1
vote
0 answers

MSAL4J Office365 PublicClientApplication -> UsernaemPasswordParameters still available after End of Basic Authentication?

According to https://developer.microsoft.com/en-us/office/blogs/end-of-support-for-basic-authentication-access-to-exchange-online-apis-for-office-365-customers/ the basic authentication of office365 will not be possible after october. Will the…
1
vote
0 answers

How can we emulate the October 13 basic authentication changes?

We have a few different options for authentication based on how the client is setup, and basic authentication is the fall through if the others do not work. We'd like to ensure we cover all of our scenarios before that date. How can we set up an…
cfitzer
  • 108
  • 1
  • 2
  • 9
1
vote
2 answers

How do I run Exchange Online remote powershell server-to-server when basic authentication is no longer supported?

Microsoft will end support for basic authentication in Exchange Online remote powershell October 13th, 2020. Server-to-server communication can be done using the System.Management.Automation.Runspaces.WSManConnectionInfo class with basic…
1
vote
0 answers

Are there any examples of code using modern authentication to initiate POP3 connections to O365?

I have several critical applications using POP3 to connect to O365 that need to switch from basic to modern authentication by 10/13/2020. I came based on this article from MS that indicated answers to questions would be provided in this forum. I…
AZ_Hawk
  • 11
  • 1
1
vote
1 answer

Oauth2 IMAP: How to request consent for 'IMAP.AccessAsUser.All' permission for an app registered in Azure AD

I am trying to request consent for 'IMAP.AccessAsUser.All' permission from user, so that my app can access the user's inbox via OAuth2. But when i request for permission I get the following error. See attached image. The application asked for scope…
bala
  • 311
  • 3
  • 11
1
2