Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.
Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.

Blog

PowerShell DEMO for Send-PNPMail and Register-PnPAzureADApp

Full demo showing step by step process to register new Azure AD application with API permission grant tenant level for send email.

Followed by second PS1 to execute Send-PnPMail and show successful delivery.

Replacement for legacy on-premise Send-MailMessage with SMTP server. Cheers.

VIDEO (PART 1 of 2)

Full demo showing step by step process to register new Azure AD application with API permission grant tenant level for send email.

Followed by second PS1 to execute Send-PNPMail and show successful delivery.

Replacement for legacy on-premise Send-MailMessage with SMTP server.

VIDEO (PART 2 of 2)

Second video showing Azure Automation Account (AA) configuration with Modules, Connection, PFX Certificate, and PS1 Runbook to successfully execute Send-PnPMail with cloud hosting.

REFERENCES

https://pnp.github.io/powershell/cmdlets/Send-PnPMail.html

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/send-mailmessage?view=powershell-7.3

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲