danijelkmsft / thisandthat Goto Github PK
View Code? Open in Web Editor NEWcollections of tools
License: MIT License
collections of tools
License: MIT License
I follow the documentation https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth See also link IMAP OAuth testing using powershell script to here.
./Get-IMAPAccessToken.ps1 -tenantID "" -clientId "" -clientsecret '' -targetMailbox "" -Verbose
always report ERROR during authentication * BYE Connection is closed. 13 when executing command A01 AUTHENTICATE ...
even if the command is correct.
PowerShell 7.2.5 on Ubuntu 18.04
Simple copy and paste the the A01 AUTHENTICATE ...
command to telnet
, A01 OK AUTHENTICATE completed.
This wasted my whole day!
Hi,
Whilst trying to execute your script I get the following:
Connect to Office 365 IMAP Service.
Ran into an exception while negotating SSL connection. Exiting.
Exception calling "AuthenticateAsClient" with "4" argument(s): "The remote certificate is invalid according to the validation procedure."
Would be grateful to receive any pointers as to how to resolve.
Thanks
Hi,
On line 130 of Get-IMAPAccessToken.ps1, should it be 'userName' instead of 'username' ?
Can you add timestamps to your console outputs? This would help debugging when customers open support tickets.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.