Skip to main content

Die Konfigurationsdatei appsettings.json

Die Konfiguration der Web-Applikations erfolgt über die Datei appsettings.json in Installationsverzeichnis.

Wird die Datei appsettings.json geändert, muss der Application Pool im IIS neu gestartet werden, damit die Änderungen wirksam werden.

Beschreibung
appsettings.json









































Der SQL Connection String

















Name der Log-Datei













Dateipfad zum Microsoft-Win32-Content-Prep-Tool (IntuneWinAppUtil.exe)
Dateipfad zu den generierten .intunewin Files



Der SQL Connection String
Der SQL Connection String



#Bitte dieses Feld leer lassen
Auth App-Registrierung Tenant-ID
Auth App-Registrierung Client-ID
Auth App-Registrierung Client Secret



#Der Block Connections kann mehrfach angelegt werden
Unique Identifier einer Intune Connection
Anzeigename einer Intune Connection
Beschreibung einer Intune Connection
Intune App-Registrierung Tenant-ID
Intune App-Registrierung Client-ID
Intune App-Registrierung Client Secret






#Der Block Connections kann mehrfach angelegt werden
Unique Identifier einer MECM Connection
MECM Site Server
Anzeigename einer MECM Connection
Beschreibung einer MECM Connection








#EOF
{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information",
      "Hangfire": "Information"
    }
  },
  "Serilog": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft": "Warning",
        "Microsoft.Hosting.Lifetime": "Information"
      }
    },
    "Using": [
      "Serilog.Expressions"
    ],
    "Enrich": [
      "WithEnvironmentUserName",
      "FromLogContext"
    ],
    "Properties": {
      "ApplicationName": "smcPortal"
    },
    "WriteTo": [
      {
        "Name": "Console",
        "Args": {
          "theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console",
          "formatter": {
            "type": "Serilog.Templates.ExpressionTemplate, Serilog.Expressions",
            "template": "[{@t:HH:mm:ss} {@l:u3}] <s:{SourceContext}> {@m}\n{@x}"
          }
        }
      },
      {
        "Name": "MSSqlServer",
        "Args": {
          "connectionString": "",
          "tableName": "Logs",
          "autoCreateSqlTable": true,
          "restrictedToMinimumLevel": "Error"
        }
      },
      {
        "Name": "Async",
        "Args": {
          "configure": [
            {
              "Name": "File",
              "Args": {
                "formatter": {
                  "type": "Serilog.Templates.ExpressionTemplate, Serilog.Expressions",
                  "template": "<![LOG[{EnvironmentUserName} --> {@l:u}: {@m}\n{@x}]LOG]!><time=\"{@t:HH:mm:ss.fffffff}\" date=\"{@t:MM-dd-yyyy}\" component=\"{ApplicationName} {Version}\" context=\"\" type=\"{#if @l = 'Error'}3{#else if @l = 'Warning'}2{#else}1{#end}\" thread=\"\" file=\"\">\n"

                },
                "path": "intune_manager.log",
                "shared": "true",
                "fileSizeLimitBytes": "1000000",
                "rollOnFileSizeLimit": true,
                "flushToDiskInterval": "1"
              }
            }
          ]
        }
      }
    ]
  },
  "AllowedHosts": "*",
  "IntuneWinPackage": {
    "IntuneWinAppUtilPath": "",
    "IntuneWinFileDirectory": "",
    "OverwriteExistingPackages": false
  },
  "ConnectionStrings": {
    "DefaultConnection": "",
    "HangfireConnection": ""
  },
  "AzureAuth": {
    "Instance": "https://login.microsoftonline.com/",
    "Domain": "",
    "TenantId": "",
    "ClientId": "",
    "ClientSecret": ""
  },
  "IntuneConnections": {
    "Connections": [
      {
        "Id": "",
        "DisplayName": "",
        "Description": "",
        "TenantId": "",
        "ClientId": "",
        "ClientSecret": ""
      }
    ]
  },
  "MecmConnections": {
    "IsCustomConnectionEnabled": false,
    "Connections": [
      {
        "Id": "",
        "Server": "",
        "DisplayName": "",
        "Description": ""
      }
    ]
  },
  "Customization": {
    "Title": "Intune Manager",
    "LogoUri": "intuneManager.png"
  } 
}
#EOF