Installation
From the Sync365 AppExchange listing, click Get It Now.
Select the Salesforce org to install app and click Install in Production.
Check the terms and conditions box to agree.
Click Confirm and Install.
Select Install for Admins Only.
Click Install.
Check to grant access to the Microsoft third-party websites.
Click Continue.
Microsoft 365 Connection
Registering Azure Application
- Navigate to the Sync365 Setup tab.
- Click Configure App.
- Click New Registration.
- Enter a name such as Sync365 for Salesforce in the name field.
- Click Register.
- Copy Tenant ID and Client ID to save later in the Salesforce Sync365 setup
- Select View API Permissions from the side menu.
- Click Add Permissions.
- Click Microsoft Graph.
- Click Application Permissions.
- Select Calendars.ReadWrite.
- Select Mail.ReadWrite.
- Click Grant admin consent for organization.
- Select Certificates & secrets from the side menu.
- Click New client secret.
- Enter a description such as Sync365 for Salesforce in the description field.
- Copy client secret value to save later in the Salesforce Sync365 app setup.Note: that client secret can only be copied immediately after creation before navigating away from client secret page.
Authorize Sync365 to Microsoft 365 Connection
To authorize Sync365 API access to Microsoft 365 your Azure credentials copied in the previous steps must be saved to Sync365.
From the Sync365 Setup tab, click Enter Credentials.
Enter Tenant ID, Client ID and Client secret copied from Azure application.
Click Save
Event Invitation Templates
Adding Event Invitation Template
Use event invitation templates to send HTML formatted event invitations with merge fields to increase productivity and standardization.
The syntax for merge fields consists of three opening curly braces, followed by the object name, followed by a full stop, the object field name, and three closing curly braces. For Example, to include the subject of the event then include {{{Event.Subject}}}.
Merge fields are supported for the following objects:
Event
Organization
Recipient (Lead or Contact)
Sender (User)
Note: Object names are case sensitive and must match the case specified above.
From the Sync365 Setup tab, click Add Template.
Select Allow New Time Proposal to allow invitees to propose new event time in Microsoft 365.
Select Teams Meeting if event will be via Microsoft Teams.
Enter the template’s name.
Enter invitation subject. Merge fields can be included.
Enter invitation description. Select Preview to enter description using the rich text editor or Select HTML to enter source HTML value.
Click Save
Sync Settings
Edit Sync Settings
From the Sync365 Setup tab, click Edit Sync Settings.
Select Enable Contact Emails Auto Import if required.
Note: Users must individually select Auto Import My Contact Emails from their user detail page to enable automatic email importing for their account.
Select Enable External Event Time Allocation if required.
Note: All details of external event will be omitted except for start and end time.
Specify Sync Interval Minutes.
Specify Sync Batch Size.
Click Save
Public Event Rescheduler
Edit Public Rescheduler Settings
From the Sync365 app Setup tab, click Edit Rescheduler Settings.
Enter your Salesforce Site URL for the Visualforce Page with the embedded public event rescheduler.
Enter your brand colour.
Enter the name of static resource for logo image.
Click Save
Embed Public Event Rescheduler in Visualforce Page for External Site Users
Allow external users to reschedule their events by adding the following code to a Visualforce page and adding that page to your Salesforce site. The code example requires the id page parameter to be populated with the event GUID.
Add Public Event Rescheduler VisualForce page to site
From Setup, in the Quick Find box, enter Sites, and then select Sites.
Click the name of the site.
To open the Profile page for your site profile, click Public Access Settings.
From the Enabled Visualforce Page Access section, click Edit.
Enable your Visualforce reschedule page.
Click Save.
From the Enabled Apex Class Access section Click Edit.
Enable the Sync365.EventPublicReschedule Apex class.
Click Save.
Email Import Exclusion Rules
Add Email Exclusion Rule
Adding an email address or the domain of email addresses to Email Import Exclusions will exclude emails from that email address or domain from automatic email import to Salesforce.
- From the Email Import Exclusions tab, click New.
- Enter the name of the email import exclusion.
- Enter the Email address or Email address domain to exclude from import. For example email@ someexampledomin.com or someexampledomin.com
- Click Save
Page Layouts
Add Sync365 Quick Action to the Lead Page Layout
From Setup, open Object Manager.
In the Quick Find box, enter Lead, and then select Lead.
Click Page Layouts, and then select page Layout to update.
On the palette, select Mobile & Lightning Actions.
Drag the Microsoft 365 Activity Import quick action to the Salesforce Mobile and Lightning Experience Actions section.
Click Save
Add Sync365 Quick Action to the Contact Page Layout
From Setup, open Object Manager.
In the Quick Find box, enter Contact , and then select Contact.
Click Page Layouts, and then select page Layout to update.
On the palette, select Mobile & Lightning Actions.
Drag the Microsoft 365 Activity Import quick action to the Salesforce Mobile and Lightning Experience Actions section.
Click Save
Add Sync365 Quick Action to the Person Account Page Layout
From Setup, open Object Manager.
In the Quick Find box, enter Person Account , and then select Person Account.
Click Page Layouts, and then select page Layout to update.
On the palette, select Mobile & Lightning Actions.
Drag the Microsoft 365 Activity Import quick action to the Salesforce Mobile and Lightning Experience Actions section.
Click Save
Add Sync365 Quick Actions and Fields to the Event Page Layout
From Setup, open Object Manager.
2. In the Quick Find box, enter Event, and then select Event.
Click Page Layouts, and then select page Layout to update.
On the palette, select Mobile & Lightning Actions.
Drag the Send To Microsoft, Reschedule, and Cancel quick actions to the Salesforce Mobile and Lightning Experience Actions section.
On the palette, select Fields.
Drag the following fields to the Event Detail section:
Status
Before Buffer Minutes
After Buffer Minutes
Microsoft 365 Synced
Microsoft 365 Event
Microsoft 365 Teams Meeting
RSVP
RSVP Accepted
RSVP Tentative
RSVP Declined
RSVP No Response
Rescheduling URL
Click Save
Add Sync365 Fields to the User Page & User Profile Page Layouts
From Setup, open Object Manager.
In the Quick Find box, enter User, and then select User.
Click User Page Layouts, and then select page Layout to update.
On the palette, select Fields.
Drag the following fields to the User Detail section:
Monday Work Start
Tuesday Work Start
Wednesday Work Start
Thursday Work Start
Friday Work Start
Saturday Work Start
Sunday Work Start
Monday Work End
Tuesday Work End
Wednesday Work End
Thursday Work End
Friday Work End
Saturday Work End
Sunday Work End
Auto Import My Contact Emails
Allocate Time for External Event
Show my Photo on Public Event Reschedule
Click Save Repeat steps 3 to 6 for User Profile Page Layouts.
Add Sync365 Field to the Email Message Page Layout
From Setup, open Object Manager.
In the Quick Find box, enter Email Message, and then select Email Message.
Click Page Layouts, and then select page Layout to update.
On the palette, select Fields.
Drag the Microsoft 365 Email field to the Email Message Detail section.
Click Save
Permission Sets
Assign Permission Set to Users
From Setup, in the Quick Find box, enter Permission Sets, and then click Permission Sets.
Select the Sync365 Admin permission set to assign admin access or Sync365 User to assign standard user access.
Click Manage Assignments and then Add Assignments.
Select the checkboxes next to the names of the users you want assigned to the permission set, and click Next.
Optionally, select an expiration date for the user assignment to expire. For more information, see Set Assignment Expiration Details for Users in Permission Sets and Permission Set Groups in Salesforce Help.
Click Assign.
Events
Send an Event to Microsoft 365
- From the record page of the event to send, click Send to Microsoft 365.
- Enter the invitation details or select an invitation template from the dropdown list to automatically populate the invitation details.
- Click Send.
Reschedule an Event
Rescheduling a Salesforce event that is synced with your Microsoft calendar will also reschedule the synced Microsoft calendar Event.
From the record detail page of the event to be rescheduled, click Reschedule.
Select a date from the date picker to display available time slots for reschedule date. Note that availability will be derived from the work start and end times specified on the event’s assigned user’s record as well as the existing events in the event’s assigned user’s calendar.
Click a time slot to select reschedule time. Enter Attendee Message if required. Click Reschedule for selected time button to confirm reschedule.
Cancel an Event
Canceling a Salesforce event that is synced with your Microsoft calendar will also cancel the synced Microsoft calendar Event.
From the record detail page of the event to be canceled, click Cancel.
Enter Attendee Message if required.
Click Cancel Event.
Navigate to Microsoft Calendar Event & Teams Meeting
From the event record page, click the View in Outlook link to navigate to the synced Microsoft calendar event, or click the Join Teams Meeting link to navigate to the event's teams meeting.
Leads & Contacts
Import Microsoft Outlook Email Manually
- Navigate to the contact or lead record.
- Click Microsoft 365 Activity Import.
- Select top number of emails to search if contact or lead is a recipient or sender.
- Expand email and click Import.
Email Messages
Navigate to Microsoft Outlook Email
From the email message record page, click the View in Outlook link to navigate to the synced Microsoft Outlook email.
Users
Import Microsoft Outlook Emails Automatically
Users can automatically import Microsoft Outlook emails for leads and contacts they own that have not been excluded from email imports. Leads and contacts that have the same email domain as the record owner, and that have been added to Email Import Exclusions are excluded from email imports. An email message relationship record will be created for each matching lead/contact with email addresses that are included in the From, To, Cc, or Bcc fields of the email, and where the email address has not been excluded from imports. Emails will not be imported if all email addresses in email have been excluded.
From the user profile page, select Auto Import My Contact Emails.
Click Save.
Note: Enable Contact Emails Auto Import must also be selected in the Sync365 sync settings to enable automatic email importing.
Import Microsoft Calendar Events Automatically
All details of automatically imported events will be omitted except for start and end time.
From the user profile page, select Allocate Time for External Events.
Click Save.
Note: Enable External Event Time Allocation must also be selected in the Sync365 sync settings to enable automatic event importing.
Show Profile Photo on Public Event Rescheduler
From the user profile page, select Show my Photo on Public Event Reschedule.
Click Save.
Specify User Business hours
The available timeslots in the public event rescheduler is derived from your availability in your Salesforce calendar along with the event owner's specified business hours.
From the user profile page, enter values for Monday Work Start and Monday Work End if applicable and repeat for each day of the week where applicable.
Click Save.