Quick and easy graph utilities for Users and Groups for Azure Active Directory B2C.
You'll want to grant admin consent to the following permissions for Microsoft Graph application in Azure AD B2C:
- Directory.ReadWrite.All
- Group.ReadWrite.All
- People.Read.All
- User.ReadWrite.All
- openid
- offline_access
See Register a Microsoft Graph Application for more details.
Both UserRepo
and GroupRepo
depend on an instance of GraphUtilConfig
configuration object for instantiation. This class has three properties:
AppId
- the application IDTenantId
- the tenant ID (the GUID)AppSecret
- the application secret