Skip to content

Instantly share code, notes, and snippets.

@gautamdsheth
Created June 13, 2020 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gautamdsheth/3092e7c07667940a5886f256bcefb602 to your computer and use it in GitHub Desktop.
Save gautamdsheth/3092e7c07667940a5886f256bcefb602 to your computer and use it in GitHub Desktop.
<pnp:Provisioning xmlns:pnp="http://schemas.dev.office.com/PnP/2019/09/ProvisioningSchema"
Author="Blade runner"
Generator="Human being ?"
Version="1.0"
Description="A sample Provisioning document"
DisplayName="Sample Provisioning"
ImagePreviewUrl="https://sharepointpnp.com/ImagePreview.png">
<pnp:Preferences Author="Blade runner" Version="1.0" Generator="Human being, am I ?">
<pnp:Parameters>
<pnp:Parameter Key="O365TenantName">contoso</pnp:Parameter>
</pnp:Parameters>
</pnp:Preferences>
<pnp:AzureActiveDirectory>
<pnp:Users>
<pnp:User AccountEnabled="true"
DisplayName="Harry Potter"
PasswordPolicies="DisablePasswordExpiration,DisableStrongPassword"
GivenName="Harry"
Surname="Potter"
JobTitle="SharePoint Consultant"
OfficeLocation="Seattle, WS"
PreferredLanguage="en-US"
MobilePhone="+1-601-123456"
MailNickname="harry.potter"
UsageLocation="US"
UserPrincipalName="harry.potter@{parameter:O365TenantName}.onmicrosoft.com">
<pnp:PasswordProfile ForceChangePasswordNextSignIn="true" ForceChangePasswordNextSignInWithMfa="false"
Password="Pass@w0rd"/>
<pnp:Licenses>
<pnp:License SkuId="c42b9cae-ea4f-4ab7-9717-81576235ccac"> <!-- Microsoft 365 E5 developer (without Windows & audio conferencing) -->
<pnp:DisabledPlans>
<pnp:DisabledPlan>e212cbc7-0961-4c40-9825-01117710dcb1</pnp:DisabledPlan> <!-- Microsoft 365 E5 forms -->
<pnp:DisabledPlan>07699545-9485-468e-95b6-2fca3738be01</pnp:DisabledPlan> <!-- Flow for Office 365 -->
</pnp:DisabledPlans>
</pnp:License>
</pnp:Licenses>
</pnp:User>
<pnp:User AccountEnabled="true"
DisplayName="John Connor"
MailNickname="john.connor"
UsageLocation="US"
JobTitle="SharePoint Architect"
UserPrincipalName="john.connor@{parameter:O365TenantName}.onmicrosoft.com">
<pnp:PasswordProfile ForceChangePasswordNextSignIn="true"
Password="tempPass@w0rd1"/>
</pnp:User>
</pnp:Users>
</pnp:AzureActiveDirectory>
</pnp:Provisioning>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment