Enigmatry.Entry.GraphApi 11.0.0-preview.1

This is a prerelease version of Enigmatry.Entry.GraphApi.
dotnet add package Enigmatry.Entry.GraphApi --version 11.0.0-preview.1
                    
NuGet\Install-Package Enigmatry.Entry.GraphApi -Version 11.0.0-preview.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Enigmatry.Entry.GraphApi" Version="11.0.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Enigmatry.Entry.GraphApi" Version="11.0.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="Enigmatry.Entry.GraphApi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Enigmatry.Entry.GraphApi --version 11.0.0-preview.1
                    
#r "nuget: Enigmatry.Entry.GraphApi, 11.0.0-preview.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Enigmatry.Entry.GraphApi@11.0.0-preview.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Enigmatry.Entry.GraphApi&version=11.0.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Enigmatry.Entry.GraphApi&version=11.0.0-preview.1&prerelease
                    
Install as a Cake Tool

Graph API Building Block

Building Block for using the Microsoft AD Graph API

Registration

You can use the AppAddGraphApi extension method on IServiceCollection to register a scoped inastance of GraphServiceClient:

 public void ConfigureServices(IServiceCollection services)
    {
        ...
        services.AppAddGraphApi(_configuration);
    }

Configuration

Example:

  "App": {
    
    "GraphApi": {
      "Enabled": true,
      "TenantId": "AZURE_AD_TENANT_ID",
      "ClientId": "APP_REGISTRATION_CLIENT_ID",
      "ClientSecret": "APP_REGISTRATION_CLIENT_SECRET",
      "PasswordPolicies": "OPTIONAL_LIST_PASSWORD_POLICIES"
    },
  • Only TenantId, ClientId and ClientSecret are used to construct the GraphServiceClient
  • Enabled can be used how you see fit, it is not used by the building block.
  • PasswordPolicies can be used to supply a list of Password policies. Used by some of the GraphServiceClient extensions.

GraphServiceClient Extensions

The Building Block also contains a number of extension methods for GraphServiceClient:

  • GetUserById
  • GetUserByIssuerAssignedId
  • GetUsers
  • GetUserPhoto
  • AddUser
  • UpdateUser
  • UpdateUserPassword
  • UpdateUserSignInEmailAddress
Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.0-preview.1 50 11/13/2026
10.6.0 91 11/12/2026
10.5.1 524 10/27/2026
10.5.0 115 10/15/2026
10.4.0 117 10/6/2026
10.3.1 728 8/20/2026
10.3.0 2,353 7/21/2026
10.2.4 616 7/3/2026
10.2.3 259 6/1/2026
10.2.3-preview.4 103 6/1/2026
10.2.2 163 4/27/2026
10.2.1-preview.1 90 4/27/2026
10.1.0 159 4/16/2026
10.0.1 313 5/19/2026
10.0.1-preview.2 104 4/16/2026
10.0.0 166 4/2/2026
9.6.0 162 3/18/2026
9.5.0 185 1/26/2026
8.3.1-preview.1 191 12/24/2025
8.3.0 263 12/23/2025
Loading failed