Project

GraphEssentials

GraphEssentials is a PowerShell module that helps with Office 365 / Azure AD using mostly Graph

Stars10
Forks3
Open issues1
PowerShell Gallery downloads1732
Releasev0.0.55
Language: PowerShell Updated: 2026-04-06T17:18:59.0000000+00:00

Curated Examples

Review application credentials

Use GraphEssentials to inspect application registrations and expiring credentials.

This pattern is useful when application secrets and certificates need a quick operational review.

It is adapted from Examples/GetGraphApplications.ps1.

Example

Import-Module GraphEssentials

Connect-MgGraph -Scopes Application.Read.All

$applications = Get-MyApp -ApplicationName 'Contoso Automation'
$applications | Format-Table

$credentials = Get-MyAppCredentials -ApplicationName 'Contoso Automation' -LessThanDaysToExpire 30
$credentials | Format-Table DisplayName, EndDateTime, KeyId

What this demonstrates

  • connecting with an explicit Microsoft Graph scope
  • checking a named application registration
  • narrowing credential review to soon-expiring credentials

Source