Uninstall-Graph
Free & Open Source
GitHub
PowerShell Module

Clean Slate for YourMicrosoft GraphPowerShell Environment

Completely uninstalls and removes all Microsoft Graph PowerShell modules from your system. Say goodbye to dependency conflicts and multiple authentication prompts.

View on GitHub

Why Not Just Use Uninstall-Module?

Microsoft Graph PowerShell modules come with complex interdependencies that make clean removal challenging.

Common Issues
  • • Multiple authentication prompts
  • • Version conflicts and dependencies
  • • Incomplete module removal
  • • Update and reinstall failures
This Solution
  • • Complete module removal
  • • Handles complex dependencies
  • • Clean PowerShell environment
  • • Ready for fresh installation

Quick Installation

Get started in seconds with PowerShell Gallery

Install from PowerShell Gallery
Recommended installation method
Install-Module Uninstall-Graph
Basic Usage
Uninstall-Graph
Without Admin Rights
Uninstall-Graph -SkipAdminCheck

Why Choose Uninstall-Graph?

Complete Removal

Thoroughly removes all Microsoft Graph modules and their dependencies

Simple & Fast

One command does it all - no complex scripts or manual intervention

Reliable

Handles complex dependency chains that trip up standard uninstall methods

More Projects by Merill

Hi folks 👋, I'm a Product Manager at Microsoft. Here are some other tools and resources I've built for the community.

✍️Things I write and talk about

My personal blog

My random thoughts and an archive of everything I post on social media.

Entra.News

A weekly newsletter for Microsoft admins and cybersecurity folks on the latest in Microsoft Entra.

Entra.Chat

A weekly podcast on Microsoft Entra.

🔥Things I've built for the Microsoft community

maester.dev

Microsoft test automation framework + security analyzer.

cmd.ms

Your Microsoft Cloud command line.

Microsoft 365 Message Center Archive

Searchable archive of all Microsoft 365 Message Center posts.

Refined Microsoft Learn

Browser extension to make Microsoft Learn distraction free and focus on the content.

akaSearch.net

Community contributed search engine for aka.ms links.

bluesky.ms

Find out Microsoft folks on Bluesky.

🤖Things I've built for Microsoft Graph

lokka.dev

An AI agent tool that brings the power of Microsoft Graph to AI agents and LLMs.

Graph X-Ray

Fiddler for Microsoft! Convert your actions in the Azure Portal to Graph PowerShell commands.

Graph Permissions Explorer

Site that shows all the Graph APIs and data exposed for a given Graph Permission.

🦾Things I've built for Microsoft Entra

idPowerToys.merill.net

Microsoft Entra Conditional Access visualizer.

aka.ms/AppNames

Repository hosting a daily updated csv/json of Microsoft first party app names and their GUIDs.

🛡️Things I've built or contributed to at Microsoft

Zero Trust Workshop

A workshop to help organizations understand and implement Zero Trust principles and practices using Microsoft Security solutions.

Entra Exporter

PowerShell module that exports all the config and data of a Microsoft Entra tenant.

Azure AD Assessment

Guidance to assess the health of an Azure AD tenant and provide best practice guidance / recommendations.

MSIdentityTools

Collection of useful cmdlets for common Azure AD functionality.