Skip to content

RELOPS-1823: import Splunk Logging app and add service principal#291

Merged
jwmossmoz merged 3 commits into
masterfrom
relops-1823-splunk-logging-sp
Apr 16, 2026
Merged

RELOPS-1823: import Splunk Logging app and add service principal#291
jwmossmoz merged 3 commits into
masterfrom
relops-1823-splunk-logging-sp

Conversation

@jwmossmoz
Copy link
Copy Markdown
Contributor

@jwmossmoz jwmossmoz commented Apr 16, 2026

Summary

  • Microsoft is retiring service-principal-less authentication on 2026-03-31. Our tenant received an email flagging the app Splunk Logging (31b68eb1-dd36-4317-a95c-9d0e42b18017) for acquiring ARM tokens without a service principal — it will be blocked after that date.
  • On inspection, Splunk Logging is Mozilla-owned (signInAudience: AzureADMyOrg, created manually 2023-02-01), not a third-party multitenant app. Object ID 443480b6-0203-45b5-a128-c61633a68e05. Owners: jmoss, mcornmesser.
  • Adds terraform/azure_ad/sp_splunk_logging.tf with:
    • azuread_application.splunk_logging — declared to match current state (owners + Microsoft Graph permissions), brought in via a Terraform 1.5+ import block on object ID /applications/443480b6-....
    • azuread_service_principal.splunk_logging — new resource; this is the missing enterprise app that resolves the Microsoft March 2026 deadline.
  • Existing manual password credentials on the app are not touched (managed separately in the portal; outside the azuread_application resource in provider v3).
  • Ref: https://learn.microsoft.com/entra/identity-platform/retire-service-principal-less-authentication

Test plan

  • terraform plan in terraform/azure_ad/:
    • Import shows azuread_application.splunk_logging being adopted with no changes (or only trivial ones).
    • One resource to create: azuread_service_principal.splunk_logging.
  • terraform apply succeeds.
  • Entra admin center → Enterprise applications: Splunk Logging now appears with a real object ID.
  • Entra sign-in logs → Service principal sign-ins filtered on app ID 31b68eb1-...: subsequent sign-ins show the new SP object ID instead of 00000000-0000-0000-0000-000000000000.
  • After first successful apply, delete the import { ... } block (it's idempotent but no longer needed).

Microsoft is retiring service-principal-less authentication on March 31,
2026. The third-party multitenant "Splunk Logging" app
(31b68eb1-dd36-4317-a95c-9d0e42b18017) acquires ARM tokens in our tenant
without a local service principal and will be blocked after that date.

Provision an enterprise app in the tenant so the app keeps authenticating
after the cutover.
The app flagged by Microsoft is actually Mozilla-owned (created manually
2023-02-01), not third-party. Bring the azuread_application under
terraform via import block, preserve existing owners and Microsoft Graph
permissions, and add the missing service principal.

Refs RELOPS-1823.
@jwmossmoz jwmossmoz changed the title RELOPS-1823: register service principal for Splunk Logging app RELOPS-1823: import Splunk Logging app and add service principal Apr 16, 2026
@jwmossmoz jwmossmoz merged commit f6424d0 into master Apr 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant