Share via

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

TeamMIS 21 Reputation points
2022-06-19T14:50:11.66+00:00

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

https://learn.microsoft.com/en-us/powershell/module/sharepoint-online/Set-SPOTenant?view=sharepoint-ps

Microsoft 365 and Office | SharePoint | For business | Windows
Windows for business | Windows Server | User experience | PowerShell
0 comments No comments

3 answers

Sort by: Most helpful
  1. Micca 161 Reputation points
    2022-06-21T13:38:35.563+00:00

    hi,

    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: https://www.powershellgallery.com/packages/Microsoft.Online.SharePoint.PowerShell/

    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

    Was this answer helpful?


  2. Limitless Technology 40,101 Reputation points
    2022-06-21T07:51:58.04+00:00

    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–

    Was this answer helpful?

    0 comments No comments

  3. Rich Matheisen 48,116 Reputation points
    2022-06-19T21:25:32.947+00:00

    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.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.