SOLVED

Teams Shifts OffShift message - No notification

%3CLINGO-SUB%20id%3D%22lingo-sub-1946468%22%20slang%3D%22en-US%22%3ETeams%20Shifts%20OffShift%20message%20-%20No%20notification%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1946468%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20trying%20to%20set%20up%20our%20Firstline%20Workers%20using%20Teams%20Shifts.%20I%20have%20created%20the%20policy%20for%20OffShift%20Message%20using%20the%20default%20settings%20just%20to%20see%20if%20a%20notification%20pops%20up%20telling%20the%20user%20they%20are%20Off%20shift%20and%20there%20is%20no%20message.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fexpand-teams-across-your-org%2Fshifts%2Fmanage-shift-based-access-flw%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EManage%20shift-based%20access%20for%20Firstline%20Workers%20in%20Teams%20-%20Microsoft%20Teams%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20really%20want%20to%20use%20a%20custom%20message%2C%20but%20there%20was%20notification%20for%20that%20one%20either.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20created%20the%20policy%20and%20granted%20this%20to%20the%20test%20user.%3C%2FP%3E%3CP%3EI%20have%20a%20shift%20created%2C%20that%20works%20great%20on%20the%20handheld%20android%20tablet%20and%20when%20I%20change%20the%20shifts%20the%20user%20gets%20notified.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20gotten%20the%20OffShift%20message%20to%20work%3F%20If%20yes%2C%20how%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EDenise%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1946468%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ETeams%20Shifts%20OffShift%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2018237%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Shifts%20OffShift%20message%20-%20No%20notification%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2018237%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F39314%22%20target%3D%22_blank%22%3E%40Denise%20Child%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%20Denise%2C%20did%20you%20build%20your%20powershell%20command%20based%20on%20this%20article%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fteams%2Fnew-csteamsshiftspolicy%3Fview%3Dteams-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ENew-CsTeamsShiftsPolicy%20(MicrosoftTeamsPowerShell)%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20powershell%20command%20would%20look%20something%20like%20this%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENew-CsTeamsShiftsPolicy%20-Identity%20OffShiftAccessMessage1Always%20-EnableShiftPresence%20%24true%20-ShiftNoticeFrequency%20always%20-ShiftNoticeMessageType%20CustomMessage%26nbsp%3B%3CSPAN%3E-ShiftNoticeMessageCustom%20This%20is%20my%20custom%20message%3C%2FSPAN%3E%20-AccessType%20UnrestrictedAccess_TeamsApp%20-AccessGracePeriodMinutes%205%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%20with%20custom%20message%26nbsp%3B-ShiftNoticeMessageType%20is%20CustomMessage%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%20note%20that%20you%20have%20to%20add%20another%20cmd%20called%26nbsp%3B%3CSPAN%3E-ShiftNoticeMessageCustom%20with%20your%20message%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIf%20that%20doesn't%20work%2C%20and%20you%20are%20not%20seeing%20it%2C%20then%20I%20would%20raise%20a%20ticket%20to%20Microsoft%20to%20look%20into%20why%20it%20isn't%20applying.%20Once%20resolved%2C%20they%20should%20need%20to%20update%20the%20docs%20article%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EHope%20that%20helps%20to%20answer%20your%20question%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBest%2C%20Chris%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

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 the user they are Off shift and there is no message.

Manage shift-based access for Firstline Workers in Teams - Microsoft Teams | Microsoft Docs

 

I really want to use a custom message, but there was notification for that one either.

 

I have created the policy and granted this to the test user.

I have a shift created, that works great on the handheld android tablet and when I change the shifts the user gets notified.

 

Has anyone gotten the OffShift message to work? If yes, how?

 

Thanks,

Denise

 

 

 

 

 

2 Replies
Best Response confirmed by adam deltinger (MVP)
Solution

@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

@Christopher Hoard  I am able to see the default message on the tablet now. I have not looked at this since I posted this message.

 

I'm switching to the custom message and do have the correct settings from the Microsoft article you reference.

 

Not sure how long it takes to update, but I will keep checking. I have shutdown and logged off a couple times. It is still showing the default message in Teams.

 

I followed the instructions to remove the default message policy after assigning the new custom message policy.

 

Denise