Table of contents
TOC
Collapse the table of content
Expand the table of content

UnifiedGroupsUtility.GetUnifiedGroupSiteUrl Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Returns the URL of the Modern SharePoint Site backing an Office 365 Group (i.e. Unified Group)

Namespace:OfficeDevPnP.Core.Framework.Graph
Assembly: OfficeDevPnP.Core.dll

Syntax

public static string GetUnifiedGroupSiteUrl(String groupId, String accessToken, Int32 retryCount = 10, Int32 delay = 500)

Parameters

groupId

  Type: System.String
  The ID of the Office 365 Group

accessToken

  Type: System.String
  The OAuth 2.0 Access Token to use for invoking the Microsoft Graph

(optional) retryCount

  Type: System.Int32
  Number of times to retry the request in case of throttling

(optional) delay

  Type: System.Int32
  Milliseconds to wait before retrying the request. The delay will be increased (doubled) every retry

Return Value

Type: string
The URL of the modern site backing the Office 365 Group

See also

© 2018 Microsoft