> ## Documentation Index
> Fetch the complete documentation index at: https://ps365.clidsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get MgApplicationSCIM

## SYNOPSIS

Retrieves all Entra ID applications configured for SCIM provisioning.

## SYNTAX

### All (Default)

```powershell theme={null}
Get-MgApplicationSCIM [-ExcludeAttributeMappings] [-IncludeFailedObjects] [-ForceNewToken] [-ExportToExcel]
 [-ExportPath <String>] [-RunFromAzureAutomation] [-NotificationRecipient <String>]
 [-NotificationSender <String>] [-DisableParallel] [-ThrottleLimit <Int32>] [-EntraCloudSync]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ByObjectId

```powershell theme={null}
Get-MgApplicationSCIM [-ObjectID <String>] [-ExcludeAttributeMappings] [-IncludeFailedObjects] [-ForceNewToken]
 [-ExportToExcel] [-ExportPath <String>] [-RunFromAzureAutomation] [-NotificationRecipient <String>]
 [-NotificationSender <String>] [-DisableParallel] [-ThrottleLimit <Int32>] [-EntraCloudSync]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ByDisplayName

```powershell theme={null}
Get-MgApplicationSCIM [-DisplayName <String>] [-ExcludeAttributeMappings] [-IncludeFailedObjects]
 [-ForceNewToken] [-ExportToExcel] [-ExportPath <String>] [-RunFromAzureAutomation]
 [-NotificationRecipient <String>] [-NotificationSender <String>] [-DisableParallel] [-ThrottleLimit <Int32>]
 [-EntraCloudSync] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION

This function returns a list of all Entra ID applications with SCIM provisioning enabled,
along with their synchronization job details and settings.

## EXAMPLES

### EXAMPLE 1

```powershell theme={null}
$scimApps = Get-MgApplicationSCIM
```

Retrieves all Entra ID applications with SCIM provisioning enabled.

### EXAMPLE 2

```powershell theme={null}
Get-MgApplicationSCIM -DisableParallel
```

Forces sequential processing even on PowerShell 7+ (useful for debugging or to avoid concurrent Graph calls).

### EXAMPLE 3

```powershell theme={null}
Get-MgApplicationSCIM -EntraCloudSync
```

Returns only Entra Cloud Sync jobs, excluding application provisioning (SCIM) jobs.

### EXAMPLE 4

```powershell theme={null}
Get-MgApplicationSCIM -ForceNewToken
```

Forces the function to disconnect and reconnect to Microsoft Graph to obtain a new access token.

### EXAMPLE 5

```powershell theme={null}
Get-MgApplicationSCIM -ExportToExcel
```

Exports the SCIM configuration details to an Excel file.

### EXAMPLE 6

```powershell theme={null}
Get-MgApplicationSCIM -ObjectID "xxx-xxx-xxx"
```

Retrieves the SCIM configuration for a specific application by its ObjectID.

### EXAMPLE 7

```powershell theme={null}
Get-MgApplicationSCIM -DisplayName "My App"
```

Retrieves the SCIM configuration for a specific application by its DisplayName.

### EXAMPLE 8

```powershell theme={null}
Get-MgApplicationSCIM -DisplayName "Azure*"
```

Retrieves the SCIM configuration for all applications whose DisplayName starts with "Azure".

### EXAMPLE 9

```powershell theme={null}
Get-MgApplicationSCIM -DisplayName "*Provisioning*"
```

Retrieves the SCIM configuration for all applications whose DisplayName contains "Provisioning".

### EXAMPLE 10

```powershell theme={null}
Get-MgApplicationSCIM -RunFromAzureAutomation -NotificationRecipient 'admin@company.com' -NotificationSender 'automation@company.com'
```

Gets all SCIM provisioning jobs using managed identity and sends a health report for apps with synchronization issues.

## PARAMETERS

### -ObjectID

(Optional) Retrieves the SCIM configuration for a specific application by its ObjectID.

```yaml theme={null}
Type: String
Parameter Sets: ByObjectId
Aliases: Identity

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -DisplayName

(Optional) Retrieves the SCIM configuration for a specific application by its DisplayName.
Supports wildcards (\* and ?) for partial name matching (e.g.
"Azure\*", "*Portal*").

```yaml theme={null}
Type: String
Parameter Sets: ByDisplayName
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ExcludeAttributeMappings

(Optional) If specified, skips the retrieval of the attribute mapping schema (ObjectMappings).
This speeds up execution significantly when mapping details are not needed.

```yaml theme={null}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -IncludeFailedObjects

(Optional) If specified, fetches the list of objects currently in error (escrowed) for each synchronization job via the provisioning audit logs API.
Requires the AuditLog.Read.All permission.
If connecting interactively, this scope is added automatically.

```yaml theme={null}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -ForceNewToken

(Optional) Forces the function to disconnect and reconnect to Microsoft Graph to obtain a new access token.

```yaml theme={null}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -ExportToExcel

(Optional) If specified, exports the results to an Excel file in the user's profile directory.

```yaml theme={null}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -ExportPath

Optional output directory for the Excel export (defaults to the user profile).

```yaml theme={null}
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -RunFromAzureAutomation

(Optional) If specified, uses managed identity authentication instead of interactive authentication.
This is useful when running the script in Azure environments like Azure Functions, Logic Apps, or VMs with managed identity enabled.
When this parameter is used, NotificationRecipient and NotificationSender are required.

PowerShell modules used in Azure Automation must be a MAXIMUM of version 2.25.0 when using PowerShell \< 7.4.0, because starting from version 2.26.0, PowerShell 7.4.0 is required, and Azure Automation does not support it yet as of February 2026.
For PowerShell 7.4.0+, there are no version restrictions.
[https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3147](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3147)
[https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3151](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3151)
[https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3166](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3166)

```yaml theme={null}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -NotificationRecipient

(Required when RunFromAzureAutomation is enabled) Email address to receive synchronization health notifications.

```yaml theme={null}
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -NotificationSender

(Required when RunFromAzureAutomation is enabled) Email address of the sender for synchronization health notifications.

```yaml theme={null}
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -DisableParallel

(Optional) Forces sequential processing.
By default, on PowerShell 7+ the function scans service principals in
parallel (ForEach-Object -Parallel) to speed up discovery; on PowerShell 5.1 it always runs sequentially.

```yaml theme={null}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -ThrottleLimit

(Optional) Maximum number of concurrent runspaces when running in parallel.
Default is 5.
Keep this value moderate to avoid Microsoft Graph throttling (HTTP 429).

```yaml theme={null}
Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 5
Accept pipeline input: False
Accept wildcard characters: False
```

### -EntraCloudSync

(Optional) Returns only Entra Cloud Sync jobs (synchronization templateId 'AD2AADProvisioning' or 'AD2AADPasswordHash'),
excluding application provisioning (SCIM) jobs.
Note: Microsoft Graph has no tenant-wide endpoint to list synchronization jobs by templateId; jobs are nested per
service principal, so this filter is applied client-side after enumerating service principals.

```yaml theme={null}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about\_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

## OUTPUTS

## NOTES

LIMITATIONS
The groups assignments are not retrieved because based on [https://main.iam.ad.ext.azure.com](https://main.iam.ad.ext.azure.com)

This function requires the Microsoft.Graph.Applications and Microsoft.Graph.Authentication modules.

## RELATED LINKS

[https://ps365.clidsys.com/docs/commands/Get-MgApplicationSCIM](https://ps365.clidsys.com/docs/commands/Get-MgApplicationSCIM)
