Graph API Outlook feature
Hello I'm working on adding a feature to our "On-Call Planner" app and need some advice.
1.Assigned on-call days to appear as all-day events in the personal Outlook calendars of assigned employees.
2.Calendar entries to update with any scheduling changes within 15 minutes.
do i have to make a service?
18 Replies
What exactly is your question?
if im using Graph API is it a good idee if i make a service or is there a other "better" way
should is just do a method?
I know graph API is Microsoft's way of interacting with e.g. AAD/Entra information.
I don't know if this works for Outlook as well. Are you asking whether there is such a thing for outlook?
if by service you mean a class, i would say yes
there is one https://learn.microsoft.com/en-us/graph/api/resources/mail-api-overview?view=graph-rest-1.0#common-use-cases
i just dont know how to implement it
Use the Outlook mail REST API - Microsoft Graph v1.0
Microsoft Graph lets your app get authorized access to a user's Outlook mail data in a personal or organization account.
("where to beginn")
is this a school project or for a company? is there a mentor available?
In this discord, we are really good at answering specific questions about C# or libraries. Questions like "where to begin" is best suited for a mentor or a senior
school/company (hard to say xd)
there is not rlly a mentor
so it's a stage project (google translates it as apprenticeship?)
You could say so, yes
have you used graph api before?
have you used graph explorer?
not really, i had to update somthing for Graph API
no
is postman the same thing, bc i used postman (it was a documentation)
sort of, graph explorer is the microsoft tool for this
it gives you a bunch of hints when using graph apis
i have used apis for sharepiont and some other stuff, sadly i don't know if their client has the outlook part
i will try it
good luck
(edit i see there are some outlook and calendar api, but not much stuff)
yeah, but for "send" and "update" there are things and i also found somthing intresting
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services?view=aspnetcore-8.0&tabs=visual-studio
(not sure if i need this, still reading)
Background tasks with hosted services in ASP.NET Core
Learn how to implement background tasks with hosted services in ASP.NET Core.
btw this is my Task:
hosted service is a service that is automatically started from the framework (for example if you have to poll via graph api)
if you just receive events then it depends (big if)