In Blogs, Mavention Make, Techblog

When creating your umpteenth site using Mavention Make, you have probably seen that a correct template suddenly gives an error. You know that this template should work because it did provision correctly a several times before. After using the retry button, the template provisions the site as if nothing had happened before.

What just happend? There could be several reasons why the provisioning stops. One thing could be that SharePoint Online is throttling your requests. This happens when Microsoft detects a extensive usage, but in this case Mavention Make has build-in functionality to handle throttling. The more common reason why the provisioning did not complete, is probably that a specific service did not responded like it supposed to in a longer period of time. When this happens the provisioning of the templates stops and you can find the reason in the error log of the provisioning request. To handle this kind of situations you could build a Microsoft Flow to retry the template on a error. But you could also use the retry option for in the playlist. Using this you can specify the number retries Mavention Make playlist should make before it stops. There is also a retry delay option, where you can set the time between the retries.

The retry option should be defined for a playlist in a template like:
<Playlist RetryCount="2" RetryDelay="30000">...</Playlist>

Now when the provisioning throws any error, Mavention Make will automatically retry the template for the defined times.
In case of provisioning still fails, I always create an notification for me and the requestor that it takes a little bit longer than supposed to.

Full example of the template


<?xml version="1.0" encoding="utf-8" ?>
<Configurator xmlns="">
<Provider NodeName="Playlist" Class="Mavention.SharePoint.SiteConfigurator.Providers.PlaylistProvider" Assembly="Mavention.SharePoint.SiteConfigurator"/>
<Playlist RetryCount="2" RetryDelay="30000">
<ConfigurationFile FileName="make-configuration-main.xml" FileType="Make" Requeueable="True" />


<?xml version="1.0" encoding="UTF-8"?>
<Provider NodeName="Site" Class="Mavention.SharePoint.SiteConfigurator.Providers.SiteProvider" Assembly="Mavention.SharePoint.SiteConfigurator, Version=, Culture=neutral, PublicKeyToken=a43c589e76ba4e3d"/>
<Site Title="{Title}" Url="{url}" Template="STS#0" LCID="1033" OwnerLogin="{owner}" ObjectAction="Update" SharingCapability="ExternalUserSharingOnly" DenyAddAndCustomizePages="Disabled">
<RootWeb Url="" Title="{Title}" Template="STS#0" LCID="1033">
<Property Name="WebTemplate">ProjectSite</Property>
<Property Name="WebTemplateVersion"></Property>
<List Url="external-documents" Title="External documents" TemplateType="101" TemplateFeatureId="00bfea71-e717-4e80-aa17-d0c71b360101" />

Vul je zoekopdracht in.

Tijmen Bak -Mavention