Cannot set a parameter "-OneDriveLoopSharingCapability" for "Set-SPOTenant"

TeamMIS 21 Reputation points

Hi there!

I would like to set parameter "-OneDriveLoopSharingCapability" for "Set-SPOTenant" to allow external users to see whiteboard in Teams meetings.

However I got the following error.

Set-SPOTenant : A parameter cannot be found that matches parameter name 'OneDriveLoopSharingCapability'.
At line:1 char:15

  • Set-SPOTenant -OneDriveLoopSharingCapability ExternalUserAndGuestShar ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : InvalidArgument: (:) [Set-SPOTenant], ParameterBindingException
  • FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Online.SharePoint.PowerShell.SetTenant

I also tried this parameter "-AllowAnonymousMeetingParticipantsToAccessWhiteboards On", and got same error.

Can anyone help me..?
Thank you

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,001 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,619 questions
No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Rich Matheisen 35,031 Reputation points

    If you're looking for a cmdlet that uses that particular parameter name, try: Get-Command -ParameterName OneDriveLoopSharingCapability

    However, the error you received isn't that the parameter name cannot be found, it's that the parameter is expecting a particular type of parameter value and the one you supplied isn't that.

    But, looking at the help for the Set-SPOTenant cmdlet, the OneDriveLoopSharingCapability appears in the "Parameters" section, but it does NOT appear in the Syntax section. What does appear in the Syntax section is -OneDriveForGuestsEnabled.

    Given the description of the -OneDriveLoopSharingCapability parameter it looks to me as if it's no longer necessary for external users you have external sharing for OneDrive for Business enabled.

    You might want to bring that to the attention of the document management folks by using the "Feedback" at the bottom of the online help and explain the problem there.

    No comments

  2. Limitless Technology 37,316 Reputation points

    Hi there,

    If your goal is to share the whiteboard with external users then you can do it now without any script.

    Microsoft 365 roadmap item 66759, which says that external participants in Teams meetings will be able to share boards.

    Whiteboard can be now shared with externals in Teams meetings! When external attendee joins Teams meeting they can work on the Whiteboard just like internal people. They can turn on collaborative cursors from Board settings (gear) to be able to see who is editing what.


    --If the reply is helpful, please Upvote and Accept it as an answer–

    No comments

  3. Michael 151 Reputation points


    regardless if the desired configuration might be available OOTB right now, it might be worth to check which parameters the version of the Powershell module you have installed is 'aware' of.
    The documentation might refer to the most recent one always.

    You can find a list of available versions for the vanilla module of SharePoint Online here:

    To check which one you have installed:

    Get-Module -Name Microsoft.Online.SharePoint.PowerShell | select version

    To check which parameters are available for a certain cmdlet of a specific module:

    get-command -Module Microsoft.Online.SharePoint.PowerShell -Name set-spotenant | select -ExpandProperty Parameters | Select -expandproperty Keys | sort

    This approach could give you a few more details – even for other modules.

    In your case, if you, for example, have version 16.0.21714.12000 installed there are only two parameters starting with 'OneDrive' available for Set-SPOTenant

    • OneDriveForGuestsEnabled
    • OneDriveStorageQuota

    Once you update to version 16.0.22601.12000 there are a few more :

    • OneDriveForGuestsEnabled
    • OneDriveLoopDefaultSharingLinkRole
    • OneDriveLoopDefaultSharingLinkScope
    • OneDriveLoopSharingCapability
    • OneDriveRequestFilesLinkEnabled
    • OneDriveRequestFilesLinkExpirationInDays
    • OneDriveStorageQuota