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

I've got an 403 Error as result #13

Open
FlorianSLZ opened this issue Jan 16, 2019 · 7 comments
Open

I've got an 403 Error as result #13

FlorianSLZ opened this issue Jan 16, 2019 · 7 comments

Comments

@FlorianSLZ
Copy link

No description provided.

@msmustamandi
Copy link

Having the same issue as of today. InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Get-O365CalendarEvent], WebException

@msmustamandi
Copy link

Looks like Basic Authentication with api v1.0 is the problem.

@FlorianSLZ
Copy link
Author

I have the same behavior with API v2.0
Do you have any idea how to solve the problem?

@msmustamandi
Copy link

msmustamandi commented Jan 17, 2019 via email

@ValuePy
Copy link

ValuePy commented Jan 18, 2019

v1.0 "Basic Authentication for Outlook REST API is no longer supported" (403) Forbidden
v2.0 "Authentication for this API version requires OAuth." (403) Forbidden

How do we fix this?

@FlorianSLZ
Copy link
Author

With this article I'm able to get the AuthToken, but my knowledge is not enough to get it work with the Invoke-RestMethod. May one of you can figure out how.

https://www.thelazyadministrator.com/2018/03/20/connect-to-the-microsoft-graph-api-with-powershell/

@FlyeZz
Copy link

FlyeZz commented Feb 5, 2019

I have the same with api V2.0

Someone can help me to fix the script?

Thanks in advance

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

4 participants