web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Plug in package using the graph API stopped working

(0) ShareShare
ReportReport
Posted on by 19
I have some plugins using the graph API using the Microsoft.Graph.GraphServiceClient to send emails and save task. The plugins had been working fine till last night.
 
Now the plugins are encountering the error message of "Exception Message: Method not found: 'Void Microsoft.Graph.GraphServiceClient..ctor(Azure.Core.TokenCredential, System.Collections.Generic.IEnumerable`1<System.String>, System.String)'.
ErrorCode: -2147220956
HexErrorCode: 0x80040224"
 
Giving the not found I attempted to update/upload a plugin package. The update errors out as well.
 
I did notice that there was nuget updates for things so updated things on nuget. The did a rebuild of the plugin to make certain plugin package file updated. I still get the same error.
 
The error when updating is "Error in while loading plugin types Method 'GetTokenAsync' in type 'StaticTokenCredential' from assembly 'Azure.Core, Version=1.52.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8' does not have an implementation."
 
Given the type of error it makes lean some type of version issue somewhere with nuget.
 
Has any one have any experience this issue when using the Microsoft.Graph.GraphServiceClient in package plugin?
 
My current plan is continue attempting different version combinations in the hope of finding one that let updates happen again.
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    394 on at
    The error is caused by a version mismatch between Microsoft Graph SDK and Azure libraries inside Microsoft Dynamics 365 plugin sandbox.
     
    Root cause
    • Updated Microsoft.Graph / Azure.Identity / Azure.Core versions
    • Dataverse runtime uses older Azure.Core, causing:
    • Missing methods (GetTokenAsync)
    • Constructor mismatch for GraphServiceClient
    Fix options
    • Best (short-term): Downgrade to compatible versions (Graph v4.x, older Azure libs)
    • Avoid TokenCredential constructor → use DelegateAuthenticationProvider
    • Best (long-term): Move Graph calls to Azure Function (outside plugin)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 184 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 138

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans