Intune Ninja is an AI-powered tool that provides insights on Intune data using Microsoft Graph API. It leverages an OpenAI assistant to interpret user queries and generate an accurate URL to call the Microsoft Graph API.
- Prompt for any Intune or Entra ID related data to get the URL to call the Microsoft Graph API.
- Chat with AI to get insights on Intune data or just learn more about the Microsoft Graph API.
- Interpret the data and provide suggestions.
- User-friendly interface built with Streamlit.
No need for installation thanks to our Streamlit app!
You do need to have an OpenAI account and a payment method linked to it. Grab an API key, as well as the client ID and secret of your Entra ID registered application for Graph.
Instructions for manual installation
- OpenAI API key
- Microsoft Graph API client ID, secret, and tenant ID
- Python 3.11 or higher
- Required packages:
dotenv
openai
streamlit
The quickest way to set up your environment is by using GitHub Codespaces. Simply click on the green "Code" button in the repository and select "Open with Codespaces" to launch a ready-to-use development environment without any additional setup.
Manual setup
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Install the required packages:
pip install -r requirements.txt
Rename or make a copy of the secrets.toml.example
file in the root directory, rename it to secrets.toml
and add your API key for OpenAI and client ID, secret, and tenant ID for Microsoft Graph API.
Run the application:
streamlit run main.py
Open your browser and navigate to http://localhost:8501
to access the application.
Feel free to submit issues or pull requests. Contributions are welcome!
This project is licensed under the MIT License.