Get Credential Profiles

Gets your tenant’s app profiles or Microsoft 365 service account profiles.

Examples

var context = PublicApi.GetContext("https://api.sp4c.storage-defender.ibm.com",
"username", "password");

var profiles = context.TenantService.GetCredentialProfiles();

Response Information

The response of getting credential profiles.

Element Description Type
Id Displays a profile’s ID. String
Name Displays a profile’s name. String
Type Displays a credential profile’s type.

Enum

The returned value can be:

ServiceAccount (a Microsoft 365 service account profile)

AppToken (an app profile)

AppProfileType Displays an app profile’s type.

The returned value can be:

SharePointOnline (for Microsoft 365 all permissions)

AzureAD (for Microsoft Azure AD)

SharePoint (for Microsoft 365 SharePoint Online permission)

Exchange (for Microsoft 365 Exchange Online permission)