RELOPS-1823: import Splunk Logging app and add service principal#291
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
31b68eb1-dd36-4317-a95c-9d0e42b18017) for acquiring ARM tokens without a service principal — it will be blocked after that date.Splunk Loggingis Mozilla-owned (signInAudience: AzureADMyOrg, created manually 2023-02-01), not a third-party multitenant app. Object ID443480b6-0203-45b5-a128-c61633a68e05. Owners: jmoss, mcornmesser.terraform/azure_ad/sp_splunk_logging.tfwith:azuread_application.splunk_logging— declared to match current state (owners + Microsoft Graph permissions), brought in via a Terraform 1.5+importblock 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.azuread_applicationresource in provider v3).Test plan
terraform planinterraform/azure_ad/:azuread_application.splunk_loggingbeing adopted with no changes (or only trivial ones).azuread_service_principal.splunk_logging.terraform applysucceeds.Splunk Loggingnow appears with a real object ID.31b68eb1-...: subsequent sign-ins show the new SP object ID instead of00000000-0000-0000-0000-000000000000.import { ... }block (it's idempotent but no longer needed).