Forum Discussion

Denise Child's avatar
Denise Child
Iron Contributor
Dec 01, 2020
Solved

Teams Shifts OffShift message - No notification

Hello,   We are trying to set up our Firstline Workers using Teams Shifts. I have created the policy for OffShift Message using the default settings just to see if a notification pops up telling th...
  • ChrisHoardMVP's avatar
    Dec 28, 2020

    Denise Child 

     

    Hi Denise, did you build your powershell command based on this article?

     

    New-CsTeamsShiftsPolicy (MicrosoftTeamsPowerShell) | Microsoft Docs

     

    The powershell command would look something like this

     

    New-CsTeamsShiftsPolicy -Identity OffShiftAccessMessage1Always -EnableShiftPresence $true -ShiftNoticeFrequency always -ShiftNoticeMessageType CustomMessage -ShiftNoticeMessageCustom This is my custom message -AccessType UnrestrictedAccess_TeamsApp -AccessGracePeriodMinutes 5

     

    Note with custom message -ShiftNoticeMessageType is CustomMessage

     

    Also note that you have to add another cmd called -ShiftNoticeMessageCustom with your message

     

    If that doesn't work, and you are not seeing it, then I would raise a ticket to Microsoft to look into why it isn't applying. Once resolved, they should need to update the docs article

     

    Hope that helps to answer your question 

     

    Best, Chris