System.MissingMethodException AddAsync
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
Hi,
I’m trying to migration my.net 4.7 solution to a new version with the .net 6. To achieve this I’ve update my projects and updated the following PNP packages do the latest version available today:
- PnP.Framework
- PnP.Core
However when I try to add new group in my SharePoint using this method “UnifiedGroupsUtility.CreateUnifiedGroup”I got the following error:, System.MissingMethodException: 'Method not found: 'System.Threading.Tasks.Task`1<Microsoft.Graph.Group> Microsoft.Graph.IGraphServiceGroupsCollectionRequest.AddAsync(Microsoft.Graph.Group)'.'
Here the exception message: Method not found: 'System.Threading.Tasks.Task`1<Microsoft.Graph.Group> Microsoft.Graph.IGraphServiceGroupsCollectionRequest.AddAsync(Microsoft.Graph.Group)'.
I’ve already spend more than a day to try to understand or fixed but with no success. Anyone knows this error and can help me please?
Thank you so much.
Best Regards
JP Fernandes
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with UnifiedGroupsUtility.CreateUnifiedGroup and reproduce the System.MissingMethodException on the reported .NET 6 migration with the updated PnP.Framework and PnP.Core packages. Compare the referenced Microsoft Graph method and package versions; done means creating a new SharePoint group succeeds without the missing-method error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100