# AppCenter Set Enabled State

Enabled or Disables a Microsoft AppCenter module.

Action available for the following operating systems:

![](/files/kfMeq0OanEe5OOx5RmUn)

### Parameters

* **Module** - The AppCenter module to enable. The currently supported modules are Analytics and Crashes.
* **State** - The new state for the specified module. It can be:
  * Enabled
  * Disabled

{% hint style="info" %}
For this to work, you need to Enable the AppCenter in Project Properties and enter the App Secret for each of the O.S.
{% endhint %}

{% hint style="info" %}
When you Enable AppCenter in the project properties and enter the App Secret, by default both modules, Analytics anyou should not rely on this, and you should Enable or Disable each of the modules by calling this action, normally in thFirst Form.
{% endhint %}

{% hint style="info" %}
This state is persisted, so when you restart the App, this setting will be applied.
{% endhint %}

{% hint style="info" %}
If you disable a module, cached log events or crashes that have not yet been sent to the server may be lost.
{% endhint %}

{% hint style="info" %}
When a crash occurs, normally that data is stored locally and is sent to the server when the App is restared.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-code-flow/appcenter-set-enabled-state.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
