I have successfully created a MS Graph Client using Azure AD and JAVA. I have used the ClientSecretCredential for authentication. I believe the access token being received is valid too. However, I now want to get access to my (outlook) mailbox, using MS Graph and JAVA, to count the total number of emails in my Inbox Folder. Please find my
Tag: microsoft-graph-api
Send mail with multiple attachment using Graph API
I’m using Microsoft-Graph API version 1.4 and trying to send mail with attachment using following code.. Ref.Link: Graph-Send-Mail But, message.attachments requires AttachmentCollectionPage object not LinkedList(); Can anyone help me to send a mail with multiple attachment. Thanks Answer I found the solution to send multiple attachment in a single mail using 1.4.0 version. Checkout the following code… The above code
Microsoft Graph Api – getting access without a user in java
I have a problem auth with microsoft graph api. I never work with it. I try to write application responsible for downloading attachments from mails. The program will be scheduled from platform so it cannot get admin consent (therefore authorize using Client Credentials). Every code example I found required an user interaction to sig in on microsoft to get a