Skip to content

Latest commit

 

History

History
81 lines (50 loc) · 2.29 KB

readme.md

File metadata and controls

81 lines (50 loc) · 2.29 KB

🥷 Intune Ninja

Overview

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.

Features

  • 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.

Quickstart

No need for installation thanks to our Streamlit app!

Open in Streamlit

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

Requirements

  • OpenAI API key
  • Microsoft Graph API client ID, secret, and tenant ID
  • Python 3.11 or higher
  • Required packages:
    • dotenv
    • openai
    • streamlit

Installation

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.

alt text

Manual setup
  1. Clone the repository:

    git clone <repository-url>
    cd <repository-directory>
  2. Install the required packages:

    pip install -r requirements.txt

Configuration

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.

Usage

Run the application:

streamlit run main.py

Open your browser and navigate to http://localhost:8501 to access the application.

Contributing

Feel free to submit issues or pull requests. Contributions are welcome!

License

This project is licensed under the MIT License.