signInAudience change failing with ETag concurrency errors

Robert VAN DYKE 0 Reputation points
2026-12-03T20:19:06.79+00:00

Subject: signInAudience change failing with ETag concurrency errors — App Registration RTUO-Login

Severity: B — Moderate business impact

Description:

I am attempting to change the signInAudience property on my app registration from AzureADandPersonalMicrosoftAccount to AzureADMyOrg (single-tenant hardening for a production SaaS application currently in beta).

Application details:

  • Display name: RTUO-Login
  • Application (client) ID: 605ef2f7-a163-416c-ab04-0299cffc3476
  • Directory (tenant) ID: 7beca930-7664-45b6-b7dd-a65598cc2456
  • Object ID: ba46835e-a74c-4f8d-a0a5-0446d526d1fd

What happened: Three save attempts were made through the Azure Portal manifest editor on December 3, 2026 at approximately:

  • 1:25:26 PM
  • 1:28:23 PM
  • 1:31:20 PM

Each attempt produced ETag concurrency errors. Audit logs confirm each attempt generated an Update application event plus two Update service principal events with no concurrent external editor present. The application registration remains unchanged at AzureADandPersonalMicrosoftAccount.

What I need: Please change signInAudience to AzureADMyOrg on this registration. No other properties should be modified — specifically not the client ID, redirect URIs, exposed API scopes, authorized clients, permissions, or secrets.

Additional context: Two guest accounts exist in the Default Directory and must continue to work after the change:

  • ******@rtuollc.com — guest OID 5176b205-0c1c-471a-b151-a59b14fecd97
  • ******@rtuollc.com — guest OID baef0bbd-b28a-4d2e-b275-fc32c76a0cdb

Both accounts have accepted their invitations and are currently active. Single-tenant allows guest users in the directory, so no disruption to these accounts is expected.Subject: signInAudience change failing with ETag concurrency errors — App Registration RTUO-Login

Severity: B — Moderate business impact

Description:

I am attempting to change the signInAudience property on my app registration from AzureADandPersonalMicrosoftAccount to AzureADMyOrg (single-tenant hardening for a production SaaS application currently in beta).

Application details:

  • Display name: RTUO-Login
  • Application (client) ID: 605ef2f7-a163-416c-ab04-0299cffc3476
  • Directory (tenant) ID: 7beca930-7664-45b6-b7dd-a65598cc2456
  • Object ID: ba46835e-a74c-4f8d-a0a5-0446d526d1fd

What happened:
Three save attempts were made through the Azure Portal manifest editor on December 3, 2026 at approximately:

  • 1:25:26 PM
  • 1:28:23 PM
  • 1:31:20 PM

Each attempt produced ETag concurrency errors. Audit logs confirm each attempt generated an Update application event plus two Update service principal events with no concurrent external editor present. The application registration remains unchanged at AzureADandPersonalMicrosoftAccount.

What I need:
Please change signInAudience to AzureADMyOrg on this registration. No other properties should be modified — specifically not the client ID, redirect URIs, exposed API scopes, authorized clients, permissions, or secrets.

Additional context:
Two guest accounts exist in the Default Directory and must continue to work after the change:

  • ******@rtuollc.com — guest OID 5176b205-0c1c-471a-b151-a59b14fecd97
  • ******@rtuollc.com — guest OID baef0bbd-b28a-4d2e-b275-fc32c76a0cdb

Both accounts have accepted their invitations and are currently active. Single-tenant allows guest users in the directory, so no disruption to these accounts is expected.

User's image

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-12-03T20:20:13.8733333+00:00

    Use a minimal Microsoft Graph update against the application Object ID to set only signInAudience; this avoids another full-manifest save and leaves omitted properties unchanged.

    Microsoft Q&A participants cannot make the tenant change on your behalf. An application owner or appropriately authorized tenant administrator must run the update.

    Apply the one-property update

    The Graph update operation accepts signInAudience, and properties omitted from the PATCH body retain their existing values. A successful request returns 204 No Content.^1^

    Using Microsoft Graph PowerShell:

    Import-Module Microsoft.Graph.Applications
    
    Connect-MgGraph -TenantId "<tenant-id>" `
      -Scopes "Application.ReadWrite.All"
    
    Update-MgApplication `
      -ApplicationId "<application-object-id>" `
      -SignInAudience "AzureADMyOrg"
    
    Get-MgApplication -ApplicationId "<application-object-id>" |
      Select-Object Id, AppId, DisplayName, SignInAudience
    

    -ApplicationId here expects the application Object ID, not the Application (client) ID. Update-MgApplication exposes -SignInAudience directly and requires Application.ReadWrite.All for delegated access.^2^

    Expected verification output:

    SignInAudience : AzureADMyOrg
    

    Do not pass redirect URIs, credentials, permissions, scopes, or other manifest collections to the update command. The client ID is not being changed, and the command does not update the service principal separately.

    For an equivalent direct REST operation, the request body should contain exactly one property:

    PATCH https://graph.microsoft.com/v1.0/applications/<application-object-id>
    Authorization: Bearer <access-token>
    Content-Type: application/json
    
    {
      "signInAudience": "AzureADMyOrg"
    }
    

    Validate application compatibility

    AzureADMyOrg is the documented value for accounts in the registering directory only. Changing signInAudience can trigger validation of related application properties, although moving to single-tenant generally relaxes several limits rather than imposing the stricter multitenant/personal-account limits.^3^

    If Graph returns a validation error rather than an ETag error, use the returned property name to identify the incompatible setting. Do not modify another property preemptively—the available evidence does not establish that any dependent property currently needs changing.

    Preserve guest sign-in

    AzureADMyOrg permits all user and guest accounts present in the home directory to use the application.^4^ Changing the audience therefore does not itself delete or disable redeemed B2B guest objects.

    After conversion, update the production authentication configuration to use the tenant-specific authority rather than common, organizations, or consumers:

    https://login.microsoftonline.com/<tenant-id>/v2.0
    

    The authority configured in the application must be consistent with its supported account types; a tenant ID or tenant domain is the appropriate audience for a single-tenant application.^5^

    This is particularly important for guests: B2B guest authentication should target the tenant in which the guest object exists, rather than allowing the sign-in flow to default to the user’s home tenant.^6^

    Test both guest accounts through the production app after:

    1. Changing signInAudience.
    2. Deploying the tenant-specific authority.
    3. Acquiring fresh tokens in a private browser session.
    4. Confirming the resulting token’s tenant claim identifies the resource tenant.

    If the minimal Graph update also fails

    If it returns another ETag/concurrency response, do not continue repeated portal saves. Open Microsoft Entra admin center → Diagnose and solve problems → Self-Service Support → Create a support request.^7^

    Include:

    • Exact UTC timestamps for the portal and Graph failures.
    • Full error text and HTTP status.
    • Correlation, request, and notification IDs.
    • Confirmation that a one-property PATCH was attempted.
    • The application Object ID and tenant ID through the secure support channel.
    • Redacted audit events showing the application and service-principal updates.

    Do not post secrets, access tokens, guest identifiers, or unredacted tenant diagnostics publicly.


    References

    1. Update application
    2. Update-MgApplication-Syntax
    3. Validation differences by supported account types - Microsoft identity platform | Microsoft Learn
    4. Modify the accounts supported by an application
    5. Application configuration options
    6. Authenticate applications and users with Microsoft Entra ID
    7. Find help and get support for Microsoft Entra
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.