0

Is it possible to check this using jsom in the spfx component itself somehow?

Otherwise I would need to call an external service, which would in turn call graph api, I am trying to avoid that. If that is the way to go however, what is the best way to get the group's id or name?

Thank you in advance.

Taras
  • 205
  • 3
  • 8

1 Answers1

1

@Taras,

I found this property accidentally, i think it meets your requirement:

enter image description here

Request URL: https://abc.sharepoint.com/sites/testprivate/_api/web?$select=AllProperties&$expand=AllProperties

enter image description here

I also checked a public Office 365 group site, it fits perfectly.

BR

Baker_Kong
  • 1,739
  • 1
  • 4
  • 9