how to fix this device error during team log in for new device from old

Mark Anthony Del Coro 0 Reputation points
2026-10-15T04:44:00.95+00:00

Correlation Id: <Moderator's note: Personal Identifiable Information removed> Timestamp: 2026-10-14T05:14:47.000Z DPTI: <Moderator's note: Personal Identifiable Information removed> Message: The operation attempted is invalid. Tag: 5objp Code: 1541091857

 

Microsoft Teams | Microsoft Teams for business | Teams on mobile devices
0 comments No comments

2 answers

Sort by: Most helpful
  1. Austin-H 8,470 Reputation points Microsoft External Staff Moderator
    2026-10-15T05:24:00.75+00:00

    Hi Mark Anthony Del Coro

    As the forum’s AI recommended, testing the same account in another Microsoft 365 app can help narrow down the issue. However, the error details alone do not establish that an old or duplicate account on the new device is the cause.

    Before following the Android account-removal steps, could you please confirm:

    1/ What type of device are you moving from and to, and which operating system does the new device use?

    2/ Are you using a work/school account or a personal Microsoft account?

    3/ Was Teams transferred through a backup or installed directly on the new device? Please also let me know whether sign-in still works on the old device and which suggested steps you have already tried.

    If the new device is managed by your organization, please check with IT before removing its work account or work profile.

    For a work/school account, if the suggested troubleshooting has not helped, ask your IT administrator to look for the corresponding sign-in event under Microsoft Entra admin center > Entra ID > Monitoring & health > Sign-in logs. Provide your account details, the error timestamp, and correlation ID privately to help them identify the attempt.

    If a matching failed event is available, its sign-in error code, Failure reason, and Additional Details may explain what needs to be corrected. The Authentication Details and Conditional Access tabs can also help IT check whether authentication or organizational access requirements affected the attempt.

    Microsoft guidance: Troubleshoot Microsoft Entra sign-in errors and Understand sign-in log details.

    If you share screenshots here, please hide your email address, tenant ID, and correlation/request IDs.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-10-15T04:45:10.5066667+00:00

    On an Android phone migrated from an old device, remove any old or duplicate Microsoft work account stored in Android, then reset Teams and sign in again; this is the most directly matched troubleshooting action for Teams mobile error 5objp / 1541091857. ^1^

    Android steps

    1. Open Settings → Accounts and backup → Manage accounts.
      Depending on the manufacturer, this may be named Accounts or Passwords & accounts.
    2. Select any old or duplicate Microsoft, Work, or School account matching the account being used in Teams, and choose Remove account.
      Remove only the account registration from the new phone—not the Microsoft 365 account itself.
    3. Open Settings → Apps → Teams → Storage:
      • Select Clear cache.
      • If the error remains, select Clear data or Clear storage. This signs you out and resets locally stored Teams credentials.
    4. Restart the phone, open Teams, and sign in with the full work or school email address.
    5. If it still fails, uninstall Teams, restart the phone, reinstall Teams from the official app store, and try again. Cache/data cleanup and reinstallation are the matched recommendations for this exact error. ^1^

    If this is an iPhone

    The exact account-removal procedure above applies to Android. On iPhone, uninstall Teams, restart the phone, reinstall Teams, and complete sign-in and any multifactor-authentication prompt. The available exact-error case does not document an equivalent iOS credential-store procedure.

    If the error continues

    Test the same account in Outlook or another Microsoft 365 app:

    • Other apps also fail: contact the organization’s IT administrator because account authentication, device registration, or organizational access requirements may be involved.
    • Browser access works but mobile apps fail: ask IT to check whether Conditional Access, approved-app, or app-protection requirements apply to the new phone. These policies can affect mobile apps differently from browser access. ^2^
    • If the organization requires Microsoft Authenticator, Intune Company Portal, device enrollment, or app-protection setup, complete that requirement before retrying Teams.

    Give IT these exact diagnostic details:

    • Code: 1541091857
    • Tag: 5objp
    • Message: The operation attempted is invalid
    • Correlation ID: [GUID]
    • Timestamp: 2026-10-14T05:14:47.000Z
    • DPTI: c9547a45e21bc3d0

    Because this code is not in Microsoft’s published Teams status-code table, Microsoft advises contacting the IT administrator when local troubleshooting does not resolve it. ^3^

    A Microsoft 365 administrator can run the Teams Sign-in diagnostic from the Microsoft 365 admin center or the Teams Sign in test in Microsoft Remote Connectivity Analyzer. The admin-center diagnostic is unavailable for Microsoft 365 Government, Microsoft 365 operated by 21Vianet, and Microsoft 365 Germany; Remote Connectivity Analyzer does not support GCC or GCC High. ^4^


    References

    1. My users are unable to access their accounts through the mobile apps they got this message - Microsoft Q&A
    2. Inquiry Regarding Microsoft 365 Mobile App Login Issue on Android 13 - Microsoft Q&A
    3. Why am I having trouble signing in to Microsoft Teams? | Microsoft Support
    4. Fix Teams sign-in errors - Microsoft Teams | Microsoft Learn
    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.