Symptom
- An issue arises when attempting to enable the sync of holidays and absences on Microsoft Teams.
- During this process, an approval is sent to SAP for enablement, but it is unclear who the approval is being sent to.
- An error message is encountered stating "To sync events to your calendar, please first grant consent to the required permissions" when attempting to sync upcoming holidays in the Microsoft Teams UI by clicking on Sync Holidays to Calendar.
Environment
- SAP SuccessFactors Employee Central
- Microsoft Teams
Reproducing the Issue
- Navigate to Microsoft Teams
- Access SuccessFactors APP Chat
- Click on Sync Holidays to Calendar
- Encounter the error message "To sync events to your calendar, please first grant consent to the required permissions"
Cause
- The issue arises due to the user consent settings configuration.
- If the "Do not allow user consent" option is selected, or if the "Allow user consent for apps from verified publishers, for selected permissions (Recommended)" option is selected but the necessary delegated permissions are not added under Permission Classifications, it indicates that the issue is related to the user consent settings.
Resolution
- Validate the user consent settings configuration. The configuration path can be found at Configuration User Consent Settings.
- Check for specific settings.
- If the "Do not allow user consent" option is selected, or
- If the "Allow user consent for apps from verified publishers for selected permissions (recommended)" option is selected, but the necessary delegated permissions are not added under Permission Classifications, it indicates that the issue is related to the user consent settings.
- Suggested Action: Select the "Allow user consent for apps from verified publishers, for selected permissions (recommended)" option and add the following five permissions to the low-risk permissions list under Permission Classifications: offline_access, profile, email, openid, Calendars.ReadWrite.
Keywords
Microsoft Teams, SF Integration, Sync, Absences, Holidays, User Consent Settings, Permissions, offline_access, profile, email, openid, Calendars.ReadWrite, To sync events to your calendar, please first grant consent to the required permissions, Sync Holidays to Calendar, Successfactors APP Chat, MS Teams, Microsoft Teams, Sync Holiday, Sync Calendar, Sync Holidays to Calendar, Microsoft Teams Successfactors, Successfactors Sync Holiday to Calendar, INC11662528. , KBA , LOD-SF-EC-TIM-UI , Team Absence Calender/ Workbench/ ESS UI's , LOD-SF-EAS-WRK , Collaboration and Work Tech , LOD-SF-EC , Employee Central , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-TIM-ABS , Absence error's - Calculations, Deductions, TT&ET , LOD-SF-EC-TIM-TA , Time Accounts (TAT, TA, TAD) , Problem