Thank you! This video is to the point and the script works great. It's also a good jumping-off point for other tasks related to email, and is much easier to comprehend than the old EWS way of doing things.
I am trying to figure out how to this to export the attachments to a SharePoint Online Document Library. Do you know of a way to cache the attachment files to then be referenced for exporting to SPO through the PNP cmdlet, Add-PnPFile?
I figured it out: $SomeFolderID=((Invoke-RestMethod -URI $baseurl -Headers @{Authorization=("bearer {0}" -f $AccessToken)}).value | where {$_.displayname -eq $SomeFolder}).ID then replace $deleteditemsfolderid with $SomeFolderID down at the bottom of the loop before calling the move action.
Could you kindly help me with the error I am getting when I try this script... New-MsalClientApplication : Exception calling "Build" with "0" argument(s): "Error: ClientId is not a GUID. " The property 'AppConfig' cannot be found on this object. Verify that the property exists.
Thank you! This video is to the point and the script works great. It's also a good jumping-off point for other tasks related to email, and is much easier to comprehend than the old EWS way of doing things.
I am trying to figure out how to this to export the attachments to a SharePoint Online Document Library. Do you know of a way to cache the attachment files to then be referenced for exporting to SPO through the PNP cmdlet, Add-PnPFile?
Is there an "easy" way to move the email to a specific user-created folder instead of the Well-Known deleteditems folder?
I figured it out:
$SomeFolderID=((Invoke-RestMethod -URI $baseurl -Headers @{Authorization=("bearer {0}" -f $AccessToken)}).value | where {$_.displayname -eq $SomeFolder}).ID
then replace $deleteditemsfolderid with $SomeFolderID down at the bottom of the loop before calling the move action.
Great video, could you please help me how to send an encrypted pdf file over the email using ms graph.
I will do a video for that
Bonjour, Bravo pour ce travail Merci.
pouvez vous m'envoyer le script?
merci de me contacter ici bernardberbell@gmail.com
Could you kindly help me with the error I am getting when I try this script...
New-MsalClientApplication : Exception calling "Build" with "0" argument(s): "Error: ClientId is not a GUID. "
The property 'AppConfig' cannot be found on this object. Verify that the property exists.
There's a problem with your Post request arguments parsing. I can email you the entire script. share your email kindly.
@@bernardmwanza1628 It worked :) Thanks for your video
do you have the script itself?
👌
Yeah
@@bernardmwanza1628 would you be so kind and share it with me :)
@@nigelrothwell6281 Yeah I can.
@@bernardmwanza1628 Kool thanks, how would you like to share..
@@nigelrothwell6281 email please
Hi, thank you for this helpful video. May I have the scripts please? I sent you an email.