zoukankan      html  css  js  c++  java
  • show-meeting-subject-in-meeting-room-calendar

    Solution
    First we need to run the following lines of code to connect to Exchange Online.

    $UserCredential = Get-Credential
    $ExchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
    Import-PSSession $ExchangeSession
    

      


    Once we are connected we can run these PowerShell command towards the mailbox in question, meetingrom1@o365admin.tips. The first line will set the permissions for the default user to Reviewer, giving all users permission to read all items in the meeting room calendar. The second line will set the calendar processing rules in order to not delete the subject upon accepting the meeting.

    Set-MailboxFolderPermission -Identity bjroom1@cndotnetcms.onmicrosoft.com:Calendar -User default -AccessRights Reviewer
    Set-CalendarProcessing -Identity bjroom1@cndotnetcms.onmicrosoft.com -DeleteSubject $False -AddOrganizerToSubject $True
    

      


    That’s all! Now the meeting room calendar will show the meeting subject instead of busy. If you don’t want to add the meeting organizer to the subject you can of course set this to $False instead. Johnny User rescheduled the meeting after the processing rules were altered, causing the calendar to now show the subject for his meeting.


    PattiF@cndotnetcms.onmicrosoft.com

    mqingqing123@cndotnetcms.onmicrosoft.com

    "{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#users('bjroom1%40cndotnetcms.onmicrosoft.com')/calendar/calendarView(start,subject,end)","value":[{"@odata.etag":"W/\"BL4Bu4durEO1ANIoXDCtRQAAIWFULA==\"","id":"AAMkAGEwZTJiMzZlLTE1NDItNDA0ZS1iNGU2LWRkYjI0ZDE1YjJjZQBGAAAAAACK5GxVHnjfSKLrOTV9vGGMBwAEvgG7h26sQ7UA0ihcMK1FAAAAAAENAAAEvgG7h26sQ7UA0ihcMK1FAAAhYZZYAAA=","subject":"\u674e \u4e07\u5b9d ","start":{"dateTime":"2020-02-20T11:30:00.0000000","timeZone":"UTC"},"end":{"dateTime":"2020-02-20T13:00:00.0000000","timeZone":"UTC"}}]}"

  • 相关阅读:
    发现一个奇怪的问题: 不能把文件取名为 con
    博客园新购服务器硬件配置
    [重要新功能]团队Blog
    [庆祝]博客园已迁至新服务器
    [公告]博客园论坛开放注册
    博客园出现了奇怪的cookie问题
    [公告]博客园聊天室试运行
    [重发]请为你喜欢的博客园杂志的名字投上一票
    [征询意见]准备采用“创作共用”协议保护大家的原创作品
    博客园期刊制作小组Blog开通
  • 原文地址:https://www.cnblogs.com/mqingqing123/p/12337346.html
Copyright © 2011-2022 走看看