✅ Microsoft Graph API
Hello I need to create program that will load data from Outlook calendar, which is done using Microsoft Graph API, so i have this code:
Got from here: https://learn.microsoft.com/en-us/graph/sdks/choose-authentication-providers?tabs=CS#client-credentials-provider
But im getting this error:
*All the variables are filled properly, i just deleted the values here.
What should i do ?
Thanks
Choose a Microsoft Graph authentication provider - Microsoft Graph
Learn how to choose scenario-specific authentication providers for your application.
16 Replies
looks like you haven't authorized your app to do those action
so i have to do something like this ?
*privileges to different action, but its just an example
yeah ig
Hello i am still trying to make it work, but now im getting different error:
when i try to acces:
I have set the permitions to (image) but it still doesnt work ?
What should i do, thanks.
check the docs of what permissions this function requires
are you using the right token?
maybe you've got multiple
it should be the right one, i have tryied it many times, with different ones
does it work if you give it ReadWrite?
are you sure it's not using the group category?
No idea sorry, i dont have permissions for azure, so i always have to ask someone to give them to me, i will ask them to regenerate the tokens, and allow the group calendar, which will most likely take more than day. So thanks for help, and i will be back tomorrow (if it breaks after that).
for the record, I haven't used these tools ever, I'm just giving you my best guesses
np np, everything is appreciated at this point lol
Hello, so i have got the permissions for it now and generated new value for secret id, and im still getting the same error ?
Any ideas on what i could do ?
contact support
ok thanks
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.