Api Permission not being activated by consent

Linden ROTH 96 Reputation points
2021-05-26T08:46:43.74+00:00

We are using AD to allow end user to login to a 3rd party application

We are using User Schema Extension fields to hold 3rd Party,

Issue major
I cannot update any of the extension fields despite having User.ReadWrite (and other permissions) set and consented to UNLESS I use a User Administrator account
A regular user reports Forbidden - it would appear I'm missing something

Minor issue
is there a way to limit normal user update to a single field of the Schema Extension

I have supplied some screen shot to [email protected]

LINDEN

Microsoft Security | Microsoft Entra | Microsoft Entra ID

2 answers

Sort by: Newest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Anonymous
    2021-06-07T22:27:58.813+00:00

    Hi @Linden ROTH ,

    "I cannot update any of the extension fields"

    You should use these 2 permissions - Application.ReadWrite.All, Directory.AccessAsUser.All, to be able to update User Schema Extension fields. Currently you are only using User.ReadWrite. Reference: Permissions for User Schema Extensions.

    "is there a way to limit normal user update to a single field of the Schema Extension"

    For delegated flows, the signed-in user can update a schema extension as long as the owner property of the extension is set to the appID of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user - Update Schema Extension. User with required permissions can change the fields in schema extensions.Reference: schema extension service limit restriction.

    Please let me know if you have any questions!

    If this answer helped you please mark it as "Verified" so other users may reference it.

    Thank you,
    James

    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.