PermissionError interface

Model that represents the permission error.

Properties

errorMessage

The error message describing the permission validation failure, when the failure carries a distinct message (for example, when the target could not be read to evaluate access).

identity

The identity.

missingPermissions

The missing permissions.

recommendedRoles

The recommended roles.

requiredPermissions

The required permissions.

resourceId

The resource id for the affected resource.

Property Details

errorMessage

The error message describing the permission validation failure, when the failure carries a distinct message (for example, when the target could not be read to evaluate access).

errorMessage?: string

Property Value

string

identity

The identity.

identity?: EntraIdentity

Property Value

missingPermissions

The missing permissions.

missingPermissions: string[]

Property Value

string[]

recommendedRoles

The recommended roles.

recommendedRoles: string[]

Property Value

string[]

requiredPermissions

The required permissions.

requiredPermissions: string[]

Property Value

string[]

resourceId

The resource id for the affected resource.

resourceId: string

Property Value

string