How To Read Mailbox Messages In Office365 Using Microsoft Graph API And PowerShell
HTML-код
- Опубликовано: 16 сен 2024
- In this video, I will show you how to read and get message count for a particular mailbox in office 365 using Microsoft graph API and PowerShell #office365
MSAL.PS module git repo
github.com/Azu...
Thank you Bernard - this video was very helpful. I learned a lot and you did an excellent job with your examples and narration.
all in all, this was extremely helpful. thanks for the info!
keeping in mind you have to get office business license to read email from graph api to make this works!
Is it possible to set the read permissions only on one mailbox in the tenant? Giving Application permissions will allow the client to access all the mailboxes in your organisation/tenant. This is a security risk.
Something wrong with my Invoke-RestMethod,
Invoke-RestMethod : The remote server returned an error: (401) Unauthorized.
I checked my permissions, given addition permissions to read/write delegated and application
I am getting same error. Anyone got it solved?
@@TanveerKhizar Seem s to me is either you havent officel business or wrong permissions setup at Entra.
Hii can you please guide me I'm getting unauthorised error while retrieving datacount of inbox in powershell but I'm getting data in Microsoft graph API url
You've not granted the app the correct permissions maybe. Could you check that
@@bernardmwanza1628 I have already given all the permission as per tutorial and referred some sites also for that still getting same error
Got 403 error