none
Powershell OAuth to Office 365 RRS feed

  • Question

  • Hi,

    I have a script that checks if there is an event in the calendar in a shared mailbox. This is done via Invoke-RestMethod to https://outlook.office365.com/api/v1.0/users/$Mailbox/calendarview?startDateTime=$startDay&endDateTime=$endDay. Where $Mailbox, $startDay and $endDay are defined in my script.
    This worked fine until last week. Now I read somewhere that Microsoft has depricated v1.0 and that I should use v2.0, but this is, as far as I can find out, via OAuth.
    For the last week I have been searching on how to do OAuth with Powershell, but I haven't found anything that I can get working.
    Does anyone know how to do this or have a good tutorial on how to do this?


    Regards


    • Moved by Bill_Stewart Friday, March 15, 2019 7:01 PM This is not "research information for me" forum
    Thursday, January 31, 2019 2:42 PM

All replies