Forum Discussion
Kubilay67
May 14, 2020Copper Contributor
What's the Application "dev-rel-auth-prod" and why Status = "Failure" ?
I've just started a O365 test account. With C# (code at the end below) I can successfully sign-in and can fetch folder names. No issues. However, the Sign-ins blade (https://portal.azure.com/#blade/M...
Joe Stocker
May 16, 2020Bronze Contributor
Error 500581 = "Session information is not sufficient for single-sign-on on V2 with prompt=none to verify if MSA account."
So my guess is the client app says "Browser" but it is not really setting a cookie since it is PowerShell, so it is throwing an error that you can safely ignore.
BTW: Since EWS is considered a legacy authentication protocol, you should consider re-writing this code to authenticate with oAuth, otherwise when Microsoft blocks legacy authentication then your code will break. Originally they were going to block this in October 2020 but that deadline has been postponed due to COVID19.
So my guess is the client app says "Browser" but it is not really setting a cookie since it is PowerShell, so it is throwing an error that you can safely ignore.
BTW: Since EWS is considered a legacy authentication protocol, you should consider re-writing this code to authenticate with oAuth, otherwise when Microsoft blocks legacy authentication then your code will break. Originally they were going to block this in October 2020 but that deadline has been postponed due to COVID19.