Deprecating UPN based APIs #238
boyuzhang-msft
started this conversation in
General
Replies: 1 comment
-
|
@boyuzhang-msft could you correct the javadocs link? Currently it links to a 404 page. From: To: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Deprecating UPN based APIs
MAM SDK API methods that take UPNs to specify identities are deprecated since MAM SDK
10.2.1. They will be removed completely at the next major version increment. New methods that specify identities by OID (also known as AAD User ID, AAD ID or Entra ID) should be used instead. See the MAM SDK integration guide and javadocs for details.Why should apps not use UPN
UPNs are not suitable to uniquely identify identities because they are not only mutable, but different
identities can have the same UPN in guest tenant scenarios.
How will this affect your app
Apps are strongly encouraged to call into OID-based API methods. MAM Strict Mode checks will fail if calling into UPN-based APIs are detected. Starting from the next major version increment (i.e. SDK version
11.x.x), apps will no longer be able to call the deprecated UPN-based APIs.What do you need to do to migrate
Our javadocs mark existing UPN-based API methods as deprecated and link the new OID-based API methods to use. Apps are strongly encouraged to examine their existing usage of UPN-based APIs and migrate to the corresponding OID-based APIs. To learn more on how to obtain OID, please refer to our doc on MAMEnrollmentManager and Registration.
Beta Was this translation helpful? Give feedback.
All reactions