Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the format of value 'bearer ' is invalid #67

Open
smlemmon opened this issue Mar 4, 2023 · 1 comment
Open

the format of value 'bearer ' is invalid #67

smlemmon opened this issue Mar 4, 2023 · 1 comment

Comments

@smlemmon
Copy link

smlemmon commented Mar 4, 2023

Hi,

I have recently migrated our code from Microsoft.Exchange.WebServices.NETStandard to Exchange.WebServices.NET6.

The code that we use to call EWS is pretty much the same with the exception of a couple of method calls being async instead of non-async.

Since changing, I get the the format of value 'bearer ' is invalid error message when trying to call email.Send or email.SaveAndSend.

I went back to Microsoft.Exchange.WebServices.NETStandard and all is once again well.

Please could you advise.

Many thanks

Simon

@jbennink
Copy link

jbennink commented Mar 8, 2023

Since the NET6 fork is 6 commits behind, and one of those commits actueally mentions the token. This commit 59fb5fa by @lanfeust69 from June 15, 2020 it might be the problem. So perhaps the NET6 should catch up to this repo first and take in the 6 commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants