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.
- 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.
- Python 3.x
- Active accounts on Microsoft Bookings and BOSSDesk.
- Essential Python libraries:
requests,python-dotenv.
- 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
.envfile with your credentials and endpoint information.
- Clone this repository to your local machine.
- Navigate to the project directory.
- Install the required libraries via pip:
pip install requests python-dotenv- Once the setup and configuration are complete, run the script using:
python main.pyThis will initiate the process of syncing new appointments from Microsoft Bookings to BOSSDesk.
- 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 is embedded within the script to capture its operation chronology, assisting in issue diagnosis.
- 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.
This project is licensed under the MIT License - see the LICENSE file for details.