Accessing and Modifying 'Lunch Hours' in 'Viva Insights' via script (GraphApi or Powershell)
I can use "Viva Insights" to modify Lunch Hours via https://insights.viva.office.com/#/PersonalApp/AppSettings/WorkWeekSettings/
How do I modify the same via GraphApi or PowerShell or some automated means?
I am an Exchange Admin. We have a hybrid environment with all users in O365 (Cloud). We have to modify the properties for over 2000 users and I am looking at an automated way.
I am seeing that the 'Viva Insights' data is stored in the mailbox as in https://sharegate.com/blog/what-is-microsoft-viva-insights. But I cannot find where in the O365 mailbox it is located. I tried doing a Get-Mailbox and Get-MailboxStatistics. I also tried Ms Graph (https://developer.microsoft.com/en-us/graph/graph-explorer) and I see something for Viva Goals but unfortunately nothing for Viva Insights.
I tried doing a 'Get-VivaInsightsSettings -Identity E937@zzzz.com | fl' but I do not see any thing for lunch hours.
Please help, Thanks