Hi,
I am trying to use powershell (Not SDK) to get a list of my e-mail messages and later on my attachments.
I am using a similar script as is shown here: https://scripting.up-in-the.cloud/powershell/graph-scripting.html#script which is working great for authenticating and getting my token and user data via: 'https://graph.microsoft.com/v1.0/users/' using Application permissions in Azure AD.
When i try to get my message list --and for this i am using the graph URL i tested with explore.graph- using: https://graph.microsoft.com/v1.0/users/{
{ iD }}/messages
i constantly get a 404 resources not found error as shown in the title.
I would suspect the results to be similar to the explore.graph
Please advice on how to get a list of messages using powershell (if this is still the way to go).
Regards