Getting "Object reference not set to an instance of an object." during Teams provisioning.

Last Updated on 2021-07-06 11:54:13 UTC

Summary

After updating Valo Teamwork to version 3.0, one Valo partner reported "Object reference not set to an instance of an object." during Teams provisioning. The issue only happens if Valo Teamwork Teams templates don't have Team settings configured. The following code sample shows an empty settings configuration in a Valo Teamwork Teams template:

<Teams>
    <Settings xsi:nil="true" />
    ...truncated for readability...
</Teams>

In detail, the null Settings object causes the template to fail during provisioning.

Latest updates

Date (UTC) Status
2020-07-06 at 2 PM CET Valo Teamwork hotfix release 3.0.1 is out! Please read more on Partner hub
2021-06-24 at 11 AM CET Bug identified and confirmed. Bug entry (20106) created in our DevOps. Workaround communicated to Valo supported.
2021-06-23 at 6 PM CET Issue reported by Valo partner.

Products affected

Product name Version Comments
Valo Teamwork 3.0 Valo Teamwork Team templates with null Settings causes provisioning to fail.

Expected availability of fix

The Valo Teamwork hotfix release 3.0.1 is out.

Mitigation

To fix this issue, please provide the Team Settings to the Valo Teamwork Team template. For example:

<Settings>
   <MemberSettings AllowCreateUpdateChannels="true" AllowCreatePrivateChannels="true" AllowAddRemoveApps="true" AllowCreateUpdateRemoveConnectors="true" AllowCreateUpdateRemoveTabs="true" AllowDeleteChannels="true" />
   <MessagingSettings AllowChannelMentions="true" AllowOwnerDeleteMessages="true" AllowTeamMentions="true" AllowUserDeleteMessages="true" AllowUserEditMessages="true" />
   <FunSettings AllowCustomMemes="true" AllowGiphy="true" AllowStickersAndMemes="true" GiphyContentRating="moderate" />
   <GuestSettings AllowCreateUpdateChannels="false" AllowDeleteChannels="false" />
</Settings>