When onboarding a device, you might see sign in issues after the app is installed.

During onboarding, you might encounter sign in issues after the app is installed on your device.

This article provides solutions to help address the sign-on issues.

Sign in failed – unexpected error

Sign in failed: Unexpected error, try later

Image of sign-in failed error Unexpected error.


Unexpected error, try later


You have an older version of “Microsoft Authenticator” app installed on your device.


Install latest version and of Microsoft Authenticator from Google Play Store and try again.

Sign in failed – invalid license

Sign in failed: Invalid license, please contact administrator

Image of sign-in failed  please contact administrator.

Message: Invalid license, please contact administrator


You do not have Microsoft 365 license assigned, or your organization does not have a license for Microsoft 365 Enterprise subscription.


Contact your administrator for help.

Report unsafe site

Phishing websites impersonate trustworthy websites for the purpose of obtaining your personal or financial information. Visit the Provide feedback about network protection page if you want to report a website that could be a phishing site.

Phishing pages aren’t blocked on some OEM devices

Applies to: Specific OEMs only

  • Xiaomi

Phishing and harmful web threats that are detected by Defender for Endpoint for Android are not blocked on some Xiaomi devices. The following functionality doesn’t work on these devices.

Image of site reported unsafe.


Xiaomi devices include a new permission model. This prevents Defender for Endpoint for Android from displaying pop-up windows while it runs in the background.

Xiaomi devices permission: “Display pop-up windows while running in the background.”

Image of pop up setting.


Enable the required permission on Xiaomi devices.

  • Display pop-up windows while running in the background.

Unable to allow permission for ‘Permanent protection’ during onboarding on some OEM devices

Applies to: Specific OEM devices only.

  • Xiaomi with Android 11

Defender App asks for Battery Optimization/Permanent Protection permission on devices as part of app onboarding, and selecting Allow returns an error that the permission couldn’t be set. It only affects the last permission called “Permanent Protection.”


Xiaomi changed the battery optimization permissions in Android 11. Defender for Endpoint is not allowed to configure this setting to ignore battery optimizations.


We are working with OEM to find a solution to enable this permission from the app onboarding screen. We will update the documentation when this is resolved. Users can follow these steps to enable the same permissions from the device settings:

  1. Go to Settings on your device.
  2. Search for and select Battery Optimization.

    Search for and select "Battery Optimisation".

  3. In Special app access, select Battery Optimization.

    In Special app access, select "Battery Optimisation".

  4. Change the Dropdown to show All Apps.

    Step one to change the dropdown to show "All Apps".

    Step two to change dropdown to show "All Apps".

  5. Locate “Microsoft Defender for Endpoint” and select Don’t Optimize.

    Locate "Microsoft Defender for Endpoint" and select "Don't Optimize".

Return to the Microsoft Defender for Endpoint onboarding screen, select Allow, and you will be redirected to the dashboard screen.

Send in-app feedback

If a user faces an issue which is not already addressed in the above sections or is unable to resolve using the listed steps, the user can provide in-app feedback along with diagnostic data. Our team can then investigate the logs to provide the right solution. Users can follow these steps to do the same:

  1. Open the MDE application on your device and click on the profile icon in the top-left corner.

    Click on profile icon.

  2. Select “Help & feedback”.

    Select help and feedback.

  3. Select “Send feedback to Microsoft”.

    Select send feedback to Microsoft.

  4. Choose from the given options. To report an issue, select “I want to report an issue”.

    Report an issue.

  5. Provide details of the issue that you are facing and check “Send diagnostic data”. We recommend checking “Include your email address” so that the team can reach back to you with a solution or a follow-up.

    Add details and attach diagnostic data.

  6. Click on “Submit” to successfully send the feedback.

Source : Official Microsoft Brand
Editor by : BEST Antivirus KBS Team

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

(Visited 76 times, 1 visits today)