π Microsoft Integration Setup β Tenziv CRM
To sync emails and calendars from Microsoft with Tenziv, you first need to register an app in Microsoft Azure and link it back to your Tenziv CRM account.
β Important: Your Tenziv CRM must be publicly accessible and using HTTPS, since Microsoft uses webhooks to communicate with your system.
Step 1: π Register Your Azure Application
- 
Click “New registration”. 
- 
Fill in the form: - 
Name: Something like Tenziv Microsoft Sync
- 
Supported account types: 
 SelectAccounts in any organizational directory and personal Microsoft accounts
- 
Redirect URI: 
 Choose Web, and enter:(Replace with your actual Tenziv CRM domain) 
 
- 
Settings β Integrations β Microsoft
Step 2: π Add API Permissions
Once the app is created:
- 
Navigate to your app > API Permissions. 
- 
Click Add a permission β Select Microsoft Graph β Delegated permissions. 
- 
Add the following permissions: 
| β Permission | 
|---|
| Mail.ReadWrite | 
| Mail.Send | 
| MailboxSettings.ReadWrite | 
| Calendars.ReadWrite | 
| openid | 
| offline_access | 
| User.Read (if not added) | 
Step 3: π Create a Client Secret
- 
Go to Certificates & Secrets > Client secrets tab. 
- 
Click “New client secret” - 
Description: Tenziv CRM Secret
- 
Expires: 24 months
 
- 
- 
Click Add 
- 
β οΈ Copy the secret value immediately β you wonβt see it again after leaving the page! 
Step 4: π§ Add the Details into Tenziv
Go to your Tenziv CRM dashboard:
Settings β Integrations β Microsoft
Then enter:
- 
App (client) ID β From Azure portal 
- 
Client Secret β The value you copied earlier 
Click Save Settings
π Calendar View
Once integrated, go to Activities β Calendar in Tenziv to view your events.
π±οΈ Click the view toggle in the top right corner of the calendar to switch between different views (e.g., month, week, list).
π§© Troubleshooting
π« 403 Forbidden Error (After Login)
This typically means your firewall (like mod_security) is blocking Microsoft. Try:
- 
Temporarily disabling your server firewall 
- 
Retrying the connection 
π Unauthorized Error (Microsoft)
- 
β Check Redirect URI: Make sure it’s an exact match in Azure and Tenziv. 
- 
π Re-enter Integration Keys: Small typos break the connection. 
- 
β¨ Client Secret: Ensure you’re using the actual value, not the ID. 

