Setting up "End meetings early or start late" per mailbox via PowerShell.

Pawel Jarosz 56 Reputation points
2021-02-22T19:06:19.297+00:00

Hi Everyone,

I found out that "End meetings early or start late" can be set on the whole company via PowerShell https://support.microsoft.com/en-us/office/end-meetings-early-or-start-late-ebb4c4c9-6992-4ea7-9772-8b5883df8500, and I found as well that tis can be set up per mailbox leveraging windows registry. I am interested in setting this per particular maibox, however would like to avoid using registry - I saw that this can also be set up in OWA, so I am wondering - is there a wat to set this up on a mailbox using PowerShell/Graph?

Thanks,

Pawel

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,195 questions
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
{count} votes

4 answers

Sort by: Most helpful
  1. Rich Matheisen 47,906 Reputation points
    2021-02-22T19:32:05.427+00:00

    That's pretty product-specific, and not really a question about PowerShell. Adding an appropriate Exchange tag to your question would probably get you a better answer.

    I doubt that the Set-MailboxCalendarConfiguration would have that addition until either the next release of Exchange server, or maybe their next roll-up.

    You might try using something like Fiddler to capture the setting of the option in OWA and then use Invoke-RestMethod to send the same data to the Exchange server.

    0 comments No comments

  2. Pawel Jarosz 56 Reputation points
    2021-02-22T22:17:25.927+00:00

    Thank you, added tags. Well... long story why I haven't add it at the beginning - I was trying.

    MS Graph also would be nice.

    Tested with Fiddler and haven't found anything.

    J

    0 comments No comments

  3. KyleXu-MSFT 26,396 Reputation points
    2021-02-23T06:50:16.487+00:00

    @PawelJarosz-0356

    I test it with my mailbox, the Outlook client configuration and OWA configuration are independent. When you enable it from Outlook client, it will not sync to OWA.

    So, this configuration cannot controlled from server side. Server configuration is a mailbox-based configuration, it will effect all client. However the "Shorten appointments and meetings" is a client-based function, you need to control it with registry.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  4. KyleXu-MSFT 26,396 Reputation points
    2021-03-02T08:28:52.417+00:00

    I check it many times now, the change from Outlook client could sync to OWA immediately, it need take a long time to sync changes from OWA to Outlook client. Yes, they could sync correctly.

    I write a script which used to check all ”Set“ commands, but only find the "Set-OrganizationConfig" could used to modify the "Shorten"

    $datas = Get-Command | where{$_.Source -eq "tmp_qukm4qvp.g5t" -and $_.Name -like "Set-*"}  
      
    foreach ($data in $datas){  
    Get-ManagementRoleEntry -Identity *\$data | where{$_.Parameters -like "*Shorten*"}  
    }  
    

    73334-qa-kyle-16-26-33.png

    The configuration of Exchange command control can be synchronized, but the settings that can be synchronized may not always be controlled by commands.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.