Unified Communications
Integrate your phone system with Microsoft 365 and Google Workspace for seamless authentication, presence synchronization, and unified communications.
Overview
Collaboration Integrations connect your Cloud-PBX with enterprise platforms like Microsoft 365 and Google Workspace, enabling single sign-on (SSO), presence synchronization, and unified communications across your organization.
Available Integrations:
- Microsoft 365: Teams, Azure AD, Outlook, and Exchange integration
- Google SSO: Single sign-on using Google Workspace accounts
Key Benefits:
- Simplified user authentication with SSO
- Automatic presence updates across platforms
- Calendar-based availability management
- Unified contact directory
- Click-to-call from collaboration apps
Integration Capabilities
Single Sign-On (SSO)
What It Does:
- Users log in to Cloud-PBX using corporate Microsoft 365 or Google credentials
- No separate username/password to remember
- Automatic account provisioning for new users
- Centralized access control and security policies
Benefits:
- User Convenience: One set of credentials for all systems
- Security: Enforce MFA, password policies centrally
- IT Efficiency: Centralized user management
- Compliance: Audit logs tied to corporate identity
Authentication Flow:
1. User visits Cloud-PBX login page
2. Selects "Sign in with Microsoft" or "Sign in with Google"
3. Redirected to identity provider (Microsoft/Google)
4. Authenticates with corporate credentials (+ MFA if required)
5. Redirected back to Cloud-PBX with secure token
6. Automatically logged in and provisioned
Presence Synchronization
What It Does: Share availability status between your phone system and collaboration platform in real-time.
Supported Presence States:
- Available: Ready to receive calls
- Busy: On an active call or in a meeting
- Away: Inactive for extended period
- Do Not Disturb: Calendar shows busy or manually set
- Offline: Not logged in or disconnected
Sync Behavior:
- Phone call starts → Microsoft Teams/Google Chat shows "Busy"
- Calendar event starts → Cloud-PBX enables Do Not Disturb
- User sets DND in Cloud-PBX → Teams/Chat shows "Do Not Disturb"
- User goes offline in Cloud-PBX → Status updates in collaboration platform
Benefits:
- Colleagues see real-time availability across all platforms
- Reduce interrupted meetings and focused work time
- Better caller experience (know when someone is available)
- Automatic call routing based on presence
Calendar Integration
What It Does: Automatically adjust phone system availability based on calendar events.
Calendar-Based Features:
- Auto-DND During Meetings: Calls go to voicemail during scheduled events
- Pre-Meeting Reminders: Notification 5 minutes before calls
- Working Hours Enforcement: Route calls differently outside work hours
- Time Zone Handling: Respect user's current time zone for availability
Calendar Event Handling:
| Calendar Status | Cloud-PBX Behavior |
|---|---|
| Free | Available for calls |
| Busy | DND enabled, calls to voicemail |
| Out of Office | Custom greeting, route to backup |
| Tentative | Calls ring, but show "May be unavailable" |
| Working Elsewhere | Available, but routing to mobile preferred |
Configuration Options:
- Enable/disable auto-DND per user
- Customize which calendar types trigger DND (meetings vs. all events)
- Set buffer time before/after events
- Choose behavior for tentative events
- Select which calendars to monitor (primary only vs. all)
Contact Directory Sync
What It Does: Import corporate directory into Cloud-PBX for caller ID, click-to-call, and search.
Synced Information:
- Full name and display name
- Phone numbers (work, mobile, home)
- Email addresses
- Department and job title
- Profile photos
- Manager and reporting structure
Sync Options:
- Full Organization: Import all users (recommended for small/medium orgs)
- Selective Groups: Sync specific departments or teams
- User's Contacts: Only import each user's personal contacts
- Shared Contacts: Sync organization-wide shared contacts
Sync Frequency:
- Real-time updates for critical changes (new users, deletions)
- Incremental sync every 15 minutes for profile updates
- Full resync daily at 2 AM local time
Benefits:
- Automatic caller ID with names and photos
- Click-to-call from contact list
- No manual contact entry or updates
- Always current with directory changes
Click-to-Call Integration
What It Does: Initiate phone calls directly from collaboration apps, email, and contact lists.
Where Click-to-Call Works:
- Outlook: Right-click phone numbers in emails or contacts
- Teams: Click phone numbers in chats, profiles, or directory
- Google Workspace: Click phone numbers in Gmail, Contacts, Calendar
- Browser Extension: Click any phone number on any webpage
User Experience:
1. User clicks phone number in Outlook email
2. Cloud-PBX desktop app activates
3. Call starts automatically on user's preferred device
4. Call details logged to contact/email thread
Configuration:
- Set default calling device (desk phone, softphone, mobile)
- Enable/disable per user or department
- Customize number format detection
- Choose browser extension behavior
Available Integrations
Microsoft 365
Integrate with Teams, Azure AD, Outlook, and Exchange for enterprise unified communications
Google SSO
Enable single sign-on and calendar integration with Google Workspace
Comparison: Microsoft 365 vs Google SSO
| Feature | Microsoft 365 | Google SSO |
|---|---|---|
| Single Sign-On | ✅ | ✅ |
| Calendar Integration | ✅ | ✅ |
| Contact Sync | ✅ | ✅ |
| Presence Sync | ✅ (Teams) | ⚠️ (Limited) |
| Click-to-Call | ✅ (Outlook, Teams) | ✅ (Gmail, Contacts) |
| Auto-Provisioning | ✅ | ✅ |
| Group Sync | ✅ | ✅ |
| Profile Photos | ✅ | ✅ |
| Reporting Structure | ✅ | ❌ |
| Teams Integration | ✅ Native | ❌ |
| Mobile App SSO | ✅ | ✅ |
General Setup Process
Most collaboration integrations follow these steps:
Prerequisites Check
Requirements:
- Admin access to both Cloud-PBX and collaboration platform
- Enterprise or Business plan (SSO requires premium plans)
- Users must have accounts in both systems
- Network access to authentication endpoints
Verify Before Starting:
- Confirm plan includes SSO features
- Check collaboration platform admin permissions
- Review domain ownership verification
- Test network connectivity to auth endpoints
Authentication Configuration
For Microsoft 365:
- Register Cloud-PBX as Azure AD application
- Grant required permissions (User.Read, Calendars.Read, etc.)
- Copy Application ID and generate client secret
- Configure redirect URLs for authentication flow
For Google SSO:
- Create OAuth 2.0 credentials in Google Cloud Console
- Add authorized domains and redirect URIs
- Configure consent screen with application details
- Copy Client ID and Client Secret
Cloud-PBX Configuration
- Navigate to Settings → Integrations → Collaboration
- Select integration to configure (Microsoft 365 or Google)
- Enter credentials from previous step
- Enable desired features:
- Single Sign-On
- Calendar sync
- Contact directory sync
- Presence synchronization
- Click-to-call
- Save configuration
User Mapping and Provisioning
Automatic Mapping:
- Match users by email address (recommended)
- Create accounts for new users automatically
- Update existing accounts with directory info
Manual Mapping:
- Map specific users between systems
- Useful for users with different email addresses
- Override automatic matching when needed
Group-Based Provisioning:
- Sync specific groups/departments only
- Assign phone system licenses based on group membership
- Automatically provision/deprovision based on group changes
Testing and Validation
Test Checklist:
- ✅ User can log in via SSO
- ✅ Calendar events trigger DND correctly
- ✅ Presence updates when on call
- ✅ Contacts appear in Cloud-PBX directory
- ✅ Click-to-call works from email/collaboration app
- ✅ Profile photos display correctly
- ✅ New user auto-provisioned within expected timeframe
Validation Steps:
- Create test user in collaboration platform
- Wait for auto-provisioning (5-10 minutes)
- Log in via SSO
- Create calendar event and verify DND
- Make test call and check presence update
- Search for colleague in directory
- Click-to-call from email or contact
Organization Rollout
Phased Rollout Approach:
- Pilot Group: IT team and early adopters (1-2 weeks)
- Department Rollout: Deploy by department (2-4 weeks)
- Organization-Wide: Enable for all users
Rollout Communication:
- Email announcement with benefits and instructions
- Quick start guide with screenshots
- Video tutorial for common tasks
- Office hours for hands-on help
- FAQ document addressing common questions
Security and Compliance
Authentication Security
Security Features:
- OAuth 2.0: Industry-standard secure authorization
- Token Encryption: All tokens encrypted at rest and in transit
- Short-Lived Tokens: Access tokens expire after 1 hour
- Automatic Refresh: Tokens refresh without user interaction
- Scope Limitation: Request only minimum required permissions
- Audit Logging: All authentication events logged
Multi-Factor Authentication:
- MFA enforced by collaboration platform (Microsoft/Google)
- Cloud-PBX honors MFA requirements
- Step-up authentication for sensitive operations
- Conditional access policies supported (Microsoft only)
Data Privacy
What Data Is Accessed:
- User profile (name, email, photo)
- Calendar free/busy status (not event details)
- Contact information (name, phone, email)
- Group memberships
- Presence status
What Data Is NOT Accessed:
- Email content or messages
- File contents or documents
- Private calendar event details
- Chat messages or conversations
- Any data outside granted scopes
Data Retention:
- Profile data cached for 24 hours
- Contacts refreshed every 15 minutes
- Calendar data not stored, only real-time queries
- Presence updates not logged
- User can revoke access anytime
Compliance Considerations
GDPR Compliance:
- Users can revoke integration access
- Personal data deleted within 30 days of disconnection
- Data processing agreement available
- Right to access and export integrated data
HIPAA Considerations:
- Calendar event details never accessed (only free/busy)
- No PHI stored in integration layer
- BAA available for enterprise customers
- Audit logs meet HIPAA requirements
Data Location:
- Authentication tokens stored in your region
- Contact cache respects data residency requirements
- Calendar queries made directly to Microsoft/Google (not stored)
Troubleshooting
SSO Login Issues
Problem: "Unable to sign in with Microsoft/Google"
Common Causes and Solutions:
| Issue | Solution |
|---|---|
| Invalid credentials | Verify Client ID and Secret in Cloud-PBX |
| Permission denied | Grant required API permissions in admin console |
| Redirect URI mismatch | Check redirect URL exactly matches configuration |
| Token expired | Re-authorize integration in settings |
| User not provisioned | Manually provision or check auto-provisioning settings |
| Domain not verified | Verify domain ownership in collaboration platform |
Diagnostic Steps:
- Check integration status indicator (Settings → Integrations)
- Review authentication logs for specific error codes
- Test with admin account first (rules out permission issues)
- Verify network connectivity to auth endpoints
- Try re-authorizing integration from scratch
Calendar Sync Issues
Problem: Calendar events not triggering DND
Troubleshooting Checklist:
- ✅ Calendar integration enabled in user settings
- ✅ User granted calendar permissions during SSO
- ✅ Calendar is primary calendar (not shared/secondary)
- ✅ Event is marked "Busy" (not "Free" or "Tentative")
- ✅ Event is not all-day event (DND applies to specific times)
- ✅ User's time zone configured correctly
Calendar Permission Check:
Microsoft 365:
Settings → Integrations → Microsoft 365 → User Permissions
Should show: "Calendars.Read" granted
Google:
Settings → Integrations → Google → User Permissions
Should show: "calendar.readonly" granted
Manual Resync:
- Go to user settings
- Navigate to Calendar Integration
- Click "Resync Calendar" button
- Check if DND now updates correctly
Presence Sync Issues
Problem: Presence not updating across platforms
Microsoft Teams Specific:
- Requires Teams Phone license for full presence sync
- Some presence states require specific permissions
- Check Teams admin center for presence sharing settings
- User must be signed in to both Cloud-PBX and Teams
Google Workspace:
- Presence sync limited to Google Chat only
- User must have Google Chat enabled
- Presence updates may have 1-2 minute delay
- Some organizations disable external presence integration
General Fixes:
- Sign out and back in to both systems
- Check presence sharing permissions
- Verify API scopes include presence access
- Review firewall rules for presence endpoints
- Test with different user account (admin vs. regular user)
Contact Sync Issues
Problem: Contacts not appearing or outdated
Sync Status Check:
- Navigate to Settings → Integrations → Collaboration
- Check "Last Sync" timestamp
- Review sync logs for errors
- Force manual sync with "Sync Now" button
Common Issues:
| Symptom | Cause | Solution |
|---|---|---|
| No contacts syncing | No permission granted | Re-authorize with Contacts.Read |
| Some contacts missing | Selective sync enabled | Change to full org sync |
| Contacts outdated | Sync failed | Check logs, manually trigger sync |
| Duplicate contacts | Multiple sources | Configure primary contact source |
| Photos not showing | Image cache issue | Clear cache, resync |
Selective Sync Configuration:
Sync all users: Best for small/medium orgs
Sync by group: Filter to specific departments
Sync user's contacts: Only personal contacts
Custom filter: Advanced LDAP/SCIM queries
Click-to-Call Issues
Problem: Click-to-call not working from collaboration app
Browser Extension:
- Install Cloud-PBX browser extension
- Grant permissions to access page content
- Verify extension enabled and signed in
- Check extension detects phone numbers (green highlight)
Outlook/Teams (Windows):
- Install Cloud-PBX desktop client
- Register as telephony provider in Windows
- Restart Outlook/Teams after installation
- Check default phone handler in Windows settings
Outlook/Teams (Mac):
- Install Cloud-PBX desktop app
- Grant accessibility permissions in System Preferences
- Restart Outlook/Teams
- Test with right-click on phone number
Google Workspace:
- Install Cloud-PBX Chrome extension
- Reload Gmail/Contacts page
- Look for phone icon next to numbers
- Check extension has required permissions
Best Practices
User Management
Auto-Provisioning Strategy:
- Enable for new hires (automatic account creation)
- Set default extension pool for auto-assigned numbers
- Configure default permissions based on department
- Set up approval workflow for sensitive features
Deprovisioning:
- Disable Cloud-PBX access when user removed from directory
- Retain call history for 90 days (compliance)
- Forward extension to manager or department
- Archive user data before permanent deletion
Performance Optimization
Sync Optimization:
- Small Orgs (<500 users): Full sync every 15 minutes
- Medium Orgs (500-2000): Group-based sync, 30 minute intervals
- Large Orgs (2000+): Selective sync, on-demand for specific users
Cache Strategy:
- Profile photos: 7-day cache (reduce API calls)
- Contact info: 1-hour cache (balance freshness and performance)
- Calendar data: No caching (always real-time)
- Presence: Real-time via webhooks (no polling)
Security Best Practices
Access Control:
- Use service accounts for organization-wide integrations
- Limit integration admin to IT security team
- Regular audit of granted permissions
- Annual review and reauthorization
- Immediate revocation for departing admins
Monitoring:
- Enable authentication audit logs
- Alert on unusual login patterns
- Monitor API usage for anomalies
- Track failed authentication attempts
- Review integration health weekly
Getting Help
Integration Support
For assistance with collaboration integrations:
- Check platform-specific setup guides linked above
- Review video tutorials in Help Center
- Contact support with integration logs
- Enterprise customers: dedicated SSO specialist
Common Resources:
- Microsoft 365 setup guide: Detailed Azure AD configuration
- Google SSO guide: OAuth and workspace setup
- SSO troubleshooting flowchart
- Video: Complete setup walkthrough (15 min)