You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have got an Azure Function that currently sends an email by using Send-PnPMail. The function logs on with a managed identity. Everything works fine.
Now there is the requirement to send with a high importance. This can only be done by using the from parameter.
But when I specify the from parameter differently than the logged in user I get an access denied error. If I log on as the user who should send the mail the error disappears.
Is it possible to send from another mail than the one that is logged on by Connect-PnPOnline
Is it possible to connect with Connect-PnPOnline within an Azure Function with another user? (without storing the credentials!)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have got an Azure Function that currently sends an email by using Send-PnPMail. The function logs on with a managed identity. Everything works fine.
Now there is the requirement to send with a high importance. This can only be done by using the from parameter.
But when I specify the from parameter differently than the logged in user I get an access denied error. If I log on as the user who should send the mail the error disappears.
Beta Was this translation helpful? Give feedback.
All reactions