Could not load type 'Microsoft.Graph.EnumConverter' from assembly Microsoft.Graph.Core

When trying to use the Create Team activity from the Microsoft Teams Scope, I get the following exception:

Error: System.Exception: Could not load type 'Microsoft.Graph.EnumConverter' from assembly 'Microsoft.Graph.Core, Version=1.23.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
   at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
   at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
   at System.RuntimeType.GetCustomAttributes(Boolean inherit)
   at UiPath.Studio.Plugin.Workflow.Extensions.BusinessTypeExtensions.GetTypeConverter(Type sourceType)
   at UiPath.Studio.Plugin.Workflow.Extensions.BusinessTypeExtensions.IsCompatibleWithTargetType(Type targetType, Type proposedType)
   at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.DefaultExpressionPopupButtonOptions.GetPropertySpecificOptions(ModelProperty property)
   at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.RegularExpressionPopupButtonOptions.GetPropertySpecificOptions(ModelProperty property)
   at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.ExpressionPopupButtonViewModel.GetInlineOption()
   at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.RegularExpressionTextBox.RegularExpressionTextBoxComponentProvider.GetEditorDecoratorFor(ExpressionActivityEditor nativeEditor)
   at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.RegularExpressionTextBox.RegularExpressionTextBoxView.UpdateWithEditor(ExpressionActivityEditor editor, ExpressionTextBox parent)
   at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.RegularExpressionTextBox.RegularExpressionTextBoxView.ApplyTo(ExpressionTextBox etb, ModelProperty modelProperty, ICustomExpressionTextBoxComponentProvider componentProvider, IExpressionTextBoxUtils expressionTextBoxUtils, IActivitiesWithOutputService activitiesWithOutputService)
   at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.RegularExpressionTextBox.RegularExpressionTextBoxLookAndFeel.SetupEditor(ExpressionTextBox expressionTextBox)
   at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.RegularExpressionTextBox.RegularExpressionTextBoxLookAndFeel.<>c__DisplayClass11_0.<OnEditorLoaded>b__0()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233054

All in all it’s impossible for me to work with Teams integration, as every method fails, having tried the Power Shell integration first.

Do you happen to have installed the package UiPath.MicrosoftOffice365.Activities in the same project? There’s a known incompatibility issue between the packages: Microsoft Office 365 and Microsoft teams are not compatible with Each other - Feedback / Activities - UiPath Community Forum - https://forum.uipath.com/.

We have released Microsoft Teams with .Net 6 Migration as 1.0.0-preview…please, check whether you are able to see the issue now?