Share via

I get "null Improperly set entity fields" when trying to authenticate to my app

Ricky Villa 20 Reputation points
2026-03-19T16:39:27.71+00:00

I have a personal Microsoft account and trying to create an App registration for OAuth connectivity to be able to send emails via SMTP.

I believe I have configured my App registration correctly, but every time I log in into the account to authenticate, I get "null Improperly set entity fields". I'm not sure what is wrong.

Does this not work with personal accounts? I heard it doesn't and may need an admin account to configure some mailbox settings to enable Authenticated SMTP found in https://admin.exhange.microsoft.com, which I can't access. How do I go about getting access to this or is there a different way to access this for personal accounts?

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Answer accepted by question author
  1. Rukmini 36,775 Reputation points Microsoft External Staff Moderator
    2026-03-19T19:34:46.5566667+00:00

    Hello Ricky Villa

    As discussed offline, the issue is resolved by changing scope as https://graph.microsoft.com/.default and the issue resolved!

    If the resolution was helpful, kindly take a moment to click on 210246-screenshot-2021-12-10-121802.pngand click on Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

0 additional answers

Sort by: Most 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.