# Microsoft Dynamics 365 Business Central

{% embed url="<https://dynamics.microsoft.com/sv-se/business-central/overview/>" %}
Läs mer om Microsoft Dynamics 365 Business Central
{% endembed %}

### Microsoft Dynamics 365 Business Central

#### Aktivera app i Azure och Business Central

1. Logga in på ditt konto i [Azure Portal](https://portal.azure.com/).
2. Gå till *Azure Active Directory*.
3. Gå till *App registrations > New registration*.
   * Name: `GKS`
   * Account types: `Accounts in this organizational directory only (Contoso only - Single tenant)`
   * Klicka *Register*.
   * Anteckna: ***Application (client) ID*** samt ***Directory (tenant) ID***.
4. Gå till *Certificates & secrets > New client secret*.
   * Description: `GKS`
   * Expires: `24 months`
   * Klicka *Add*.
   * Anteckna värdet för **Secret&#x20;*****Value***.
5. Gå till *API permissions > Add a permission > Microsoft APIs > Dynamics 365 Business Central > Application permissions*.
   * Kryssa i: `API.ReadWrite.All`
   * Klicka *Add Permissions.*
   * Klicka på knappen *Grand admin consent for (your org).*
6. Logga in på ditt konto i [Business Central](https://businesscentral.dynamics.com/).
7. Klicka på sökikon och skriv: `Azure Active Directory Applications`. Klicka på länken.
8. Klicka *New*.
   * Client ID: `(antecknat tidigare)`
   * Description: `GKS`
   * User Groups: `D365 FULL ACCESS` (eller annan lämplig för ändamålet)
9. Gå till *Settings (kugghjulet) > Admin Center*.
10. Kontrollera att er miljö:
    * Har namn: `Production`
    * Har version: `18.3` (eller senare)

{% hint style="info" %}
Se [Using Service-to-Service (S2S) Authentication](https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/automation-apis-using-s2s-authentication) för fullständig dokumentation och steg gällande aktiveringen.
{% endhint %}
