CVSP Office 365 Command Tool

Use the CVSP Office 365 Command Tool to estimate the amount of space the proxy machine needs to run a SharePoint full backup operation. You can also use this tool to troubleshoot a backup operation failure.

Before You Begin

The Path.txt file must have SharePoint username and password in the following format:

adcd@company.onmicrosoft.com password

Procedure

  1. To check and assign permissions to tenant URL, run the following commands:

    CVSPOffice365CommandTool.exe -username $[username@office365.com] -vm $[Instance001] -checkpermission -tenanturl $[https://office365site-admin.com]
    
    CVSPOffice365CommandTool.exe -username $[username@office365.com] -vm $[Instance001] -assignpermission -tenanturl $[https://office365site-admin.com]
    
  2. To check and assign permissions to web URI, run the following commands:

    CVSPOffice365CommandTool.exe -username $[username@office365.com] -vm $[Instance001] -checkpermission -weburl $[https://office365site/testsite]
    
    CVSPOffice365CommandTool.exe -username $[username@office365.com] -vm $[Instance001] -assignpermission -weburl $[https://office365site/testsite] -tenanturl $[https://office365site-admin.com]
    
  3. To verify the site collection size, run the following command:

    CVSPOffice365CommandTool.exe -username $[username@office365.com] -vm $[Instance001] -checksize -weburl $[SiteCollection URL] -credentialsfilepath $[Path.txt file]
    

    To verify the site collection size with "nosubs" option, run the following command:

    CVSPOffice365CommandTool.exe -username $[username@office365.com] -vm $[Instance001] -checksize -weburl $[SiteCollection URL] -nosubs -credentialsfilepath $[Path.txt file]
    

    To verify the site collection size with "OnlyLatestVersion" option, run the following command:

    CVSPOffice365CommandTool.exe -username $[username@office365.com] -vm $[Instance001] -checksize -onlylatestversions -weburl $[SiteCollection URL] -credentialsfilepath $[Path.txt file]
    
  4. To verify the tenant size, run the following command:

    CVSPOffice365CommandTool.exe -username $[username@office365.com] -vm $[Instance001] -checksize tenanturl $[Tenant URL] -credentialsfilepath $[Path.txt file]
    

Note

  • Run the CVSP Office 365 Command Tool from the Base folder.

  • Always launch command prompt with administrative privileges.

  • The users in the path file must have access to the tenant. An "access denied" error message appears if users in the path file do not have tenant access.

Page contents

×

Loading...