Enigmatry.Entry.GraphApi 9.1.1-preview.4

This is a prerelease version of Enigmatry.Entry.GraphApi.
dotnet add package Enigmatry.Entry.GraphApi --version 9.1.1-preview.4
                    
NuGet\Install-Package Enigmatry.Entry.GraphApi -Version 9.1.1-preview.4
                    
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="9.1.1-preview.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Enigmatry.Entry.GraphApi" Version="9.1.1-preview.4" />
                    
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 9.1.1-preview.4
                    
#r "nuget: Enigmatry.Entry.GraphApi, 9.1.1-preview.4"
                    
#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.
#addin nuget:?package=Enigmatry.Entry.GraphApi&version=9.1.1-preview.4&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Enigmatry.Entry.GraphApi&version=9.1.1-preview.4&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 net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
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
9.1.1-preview.4 54 6/27/2025
9.1.1-preview.3 115 6/4/2025
9.1.0 217 6/3/2025
9.0.1-preview.8 119 5/26/2025
9.0.1-preview.7 200 5/13/2025
9.0.1-preview.6 96 5/9/2025
9.0.1-preview.5 117 5/7/2025
9.0.1-preview.4 116 4/30/2025
9.0.1-preview.2 123 4/1/2025
9.0.0 119 2/26/2025
8.1.1-preview.3 120 5/7/2025
8.1.1-preview.1 123 4/1/2025
8.1.0 131 2/19/2025
8.0.1-preview.4 70 2/7/2025
8.0.1-preview.2 54 1/15/2025
8.0.0 122 11/27/2024
3.4.6-preview.10 61 11/27/2024
3.4.3 463 10/22/2024
3.4.2 214 10/11/2024
3.4.1 121 10/9/2024
3.4.0 117 10/9/2024
3.3.2 122 8/28/2024
3.3.2-preview.7 70 8/27/2024
3.3.1 232 7/16/2024
3.3.1-preview.4 59 7/12/2024
3.3.0 141 6/20/2024
3.2.1-preview.4 68 6/17/2024
3.2.1-preview.1 82 5/23/2024
3.2.0 3,119 4/3/2024
3.1.1-preview.1 80 3/13/2024
3.1.0 140 3/8/2024
3.1.0-preview.2 82 2/19/2024
3.0.1-preview.2 92 2/9/2024
3.0.1-preview.1 89 1/24/2024
3.0.0 1,081 1/15/2024
3.0.0-preview.14 93 1/9/2024
3.0.0-preview.12 81 1/9/2024
3.0.0-preview.5 87 1/10/2024
3.0.0-preview.2 109 12/28/2023
3.0.0-preview 145 12/20/2023
2.1.0 183 12/28/2023
2.0.1-preview.3 111 12/1/2023
2.0.1-preview.2 96 11/29/2023
2.0.1-preview.1 86 11/28/2023
2.0.0 399 11/8/2023
2.0.0-preview.3 103 10/27/2023
2.0.0-preview.2 91 10/27/2023
2.0.0-preview.1 86 10/27/2023
2.0.0-preview 145 10/27/2023
1.1.500 179 10/27/2023
1.1.495 162 9/24/2023
1.1.486 187 9/13/2023
1.1.484 183 9/7/2023
1.1.482 192 9/6/2023
1.1.480 191 8/24/2023
1.1.477 231 8/2/2023
1.1.464 212 7/5/2023
1.1.447 217 5/26/2023
1.1.396 243 4/11/2023
1.1.383 269 4/3/2023
1.1.377 258 3/13/2023
1.1.376 283 3/13/2023
1.1.365 506 2/15/2023