Event details
- RobinHMar 23, 2023Brass ContributorPossible to publish/blog details of how the customer mentioned at 18:50 put together their trigger for an email when a Cloud PC changes state to Provisioned? Seen a non-Microsoft blog https://pedholtlab.com/email-users-after-cloud-pc-have-been-provisioned/ mention having a scheduled script in Azure which checks all Provisioned state PCs and sends an email to the Primary User, if an Azure AD attribute has not been set. Once email is sent, attribute is set. But, I'd rather trigger a task to run upon a change of state, rather than be scheduled. It seems that it is possible? For my part, I'm looking at having Intune run a Required app/script on a Cloud PC to email the user. In theory, if the device is managed by Intune, then it's ready for the user to login to it for the first time? But a triggered script would be nicer!
- joilsonjuniorMar 23, 2023Copper Contributor
I managed to configure something really close to an ideal situation using LogicApps, triggering every 4 hours an e-mail welcoming message for devices that do not have the $ExstensionAttributeKey filled. however, my solution has a few issues...
- When the Cloud PC is reprovisioned or resized, it triggers the e-mail again;
- The trigger, I could have this running every 10 minutes but this will incur on my Azure Cost (pennies but still...);
- I need a licensed system account to send the e-mails;
- some users have the MainSMTPAddress different from their UserPrincipalName, which makes it a bit tricky to filter where to send the e-mail to.
I'm no developer or Logic Apps specialist but I think it is too much work just to trigger a simple e-mail message, I really wish the Windows 365 team will come up with this feature to help admins and improve the UX