Microsoft Teams & Office 365 Activities - Dependencies not compatible

Created a Test Project using the UiPath.Microsoft.Teams.Activities package (0.5.1) and able to run what we require.

I’ve then gone to implement this into another project which uses the UiPath.MicrosoftOffice365.Activities (1.14.1) for things like Sharepoint activities - which is now full of errors as there is a versioning issue with the Microsoft.Graph dependency.

UiPath.MicrosoftOffice365.Activities uses "Microsoft.Graph (V 4.11.0.0)
UiPath.MicrosoftTeams.Activities uses "Microsoft.Graph.Beta (V 0.35.0.0)

This now means the same terms are clashing and unable to run - and even use the same PublicKeyToken.

For example:
"The Type ‘Team’ exists in both ‘Microsoft.Graph.Beta, Version=0.35.0.0, Culture=neutral, PublicKeyToken=(removed for security)’ and Microsoft.Graph, Version=4.11.0.0, Culture=neutral, PublicKeyToken=(removed for security)’

Has anyone come accross this issue before?
Last time UiPath updated their Microsoft Teams package was back in March 2021 so I assumed this would have been raised previously.

I’ve had a reply from UiPath Technical Support.

Essentially this issue can’t be resolved as they are promoting the MS Teams Integration service, so there will be no updates against the Nuget Package for Teams.

I’ve now created an additional bot that has the sole purpose of sending Teams Messages now, so the other process will just raise a queue item for that bot.

1 Like