<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ManagedApp",
  "identifier" : "/documentation/ManagedApp/ManagedAppConfigurationProvider",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "ManagedApp"
    ],
    "preciseIdentifier" : "s:10ManagedApp0aB21ConfigurationProviderC"
  },
  "title" : "ManagedAppConfigurationProvider"
}
-->

# ManagedAppConfigurationProvider

A class that provides configurations that an MDM admin provisions for a managed app or extension.

```
class ManagedAppConfigurationProvider
```

## Overview

This class provides objects of a type you define, which decodes and validates the configuration that the framework receives from the MDM server.

The framework ingests the configuration in the form of a property list that the MDM server provides and passes to your type as a <doc://com.apple.documentation/documentation/Swift/Decoder>. Your type conforms to <doc://com.apple.documentation/documentation/Swift/Decodable> and parses the configuration according to your specification that the server admin conforms to when creating the property list.

If the decoder encounters a problem, it throws an error that the MDM admin can find in the device’s event log.

## Topics

### Initializing a configuration provider

[`init()`](/documentation/ManagedApp/ManagedAppConfigurationProvider/init())

Initializes a configuration provider.

### Accessing configurations

[`func configurations<Configuration>(Configuration.Type) async -> some AsyncSequence<Optional<Configuration>, Never>`](/documentation/ManagedApp/ManagedAppConfigurationProvider/configurations(_:))

Provides an asynchronous sequence of configurations that the MDM admin specifies.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)