Skip to content

This repository contains a Python script for integrating Microsoft Graph with BOSSDesk to automate service request creation in BOSSDesk based on appointments scheduled in Microsoft Graph, ensuring seamless synchronization between the two services. Ideal for organizations seeking to streamline their service request workflows.

License

Notifications You must be signed in to change notification settings

Zeph3r/Laptop-Distribution-Scheduling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laptop-Distribution-Scheduling

This repository hosts a daemon-based Python script tailored for bridging Microsoft Graph with BOSSDesk, to autonomously spawn service requests in BOSSDesk triggered by new appointments scheduled in Microsoft Bookings. This integration aims at bolstering operational fluidity between the two platforms, a boon for entities eyeing streamlined service request management.

Table of Contents

Features

  • Seamless retrieval of fresh appointments from Microsoft Bookings.
  • Automatic generation of corresponding service requests in BOSSDesk.
  • Agile mapping of appointment intricacies to service request fields.

Prerequisites

  • Python 3.x
  • Active accounts on Microsoft Bookings and BOSSDesk.
  • Essential Python libraries: requests, python-dotenv.

Configuration

  • Obtain and configure OAuth 2.0 credentials from Azure AD for authenticating requests to Microsoft Graph.
  • Configure the necessary API permissions and ensure Admin Consent is granted for the necessary scopes in Azure AD.
  • Update the .env file with your credentials and endpoint information.

Setup

  1. Clone this repository to your local machine.
  2. Navigate to the project directory.
  3. Install the required libraries via pip:
pip install requests python-dotenv

Usage

  1. Once the setup and configuration are complete, run the script using:
python main.py

This will initiate the process of syncing new appointments from Microsoft Bookings to BOSSDesk.

Error Handling

  • The script is equipped with basic error handling to manage common issues that may arise during the API requests.
  • Logging is implemented to track the operation over time, which can be invaluable for diagnosing issues.

Logging

  • Logging is embedded within the script to capture its operation chronology, assisting in issue diagnosis.

Security

  • Sensitive information such as API keys and credentials are securely housed in a .env file, ensuring they are not exposed publicly.
  • Ensure the .env file is included in your .gitignore to prevent accidental exposure.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This repository contains a Python script for integrating Microsoft Graph with BOSSDesk to automate service request creation in BOSSDesk based on appointments scheduled in Microsoft Graph, ensuring seamless synchronization between the two services. Ideal for organizations seeking to streamline their service request workflows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages