From b369d653576c2518abe415c7f8417480fff2ab9c Mon Sep 17 00:00:00 2001 From: -Mynster <66535357+Mynster9361@users.noreply.github.com> Date: Fri, 5 Jun 2026 21:23:52 +0200 Subject: [PATCH] Adding LogAnalytics api to the 02 services --- EntraAuth/internal/scripts/02-Services.ps1 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/EntraAuth/internal/scripts/02-Services.ps1 b/EntraAuth/internal/scripts/02-Services.ps1 index d66a380..2f909a3 100644 --- a/EntraAuth/internal/scripts/02-Services.ps1 +++ b/EntraAuth/internal/scripts/02-Services.ps1 @@ -59,4 +59,16 @@ $azureKeyVaultCfg = @{ 'api-version' = '7.4' } } -Register-EntraService @azureKeyVaultCfg \ No newline at end of file +Register-EntraService @azureKeyVaultCfg + +$logAnalyticsCfg = @{ + Name = 'LogAnalytics' + ServiceUrl = 'https://api.loganalytics.azure.com' + Resource = 'https://api.loganalytics.io' + DefaultScopes = @() + HelpUrl = 'https://docs.microsoft.com/en-us/azure/azure-monitor/logs/api/overview' + Header = @{ + 'Content-Type' = 'application/json' + } +} +Register-EntraService @azureCfg \ No newline at end of file