Is there any to get user unique identity after authentication process of MS Graph API?Access to a shared notebook using microsoft graph's APIOnenote get page api issuesHow to access shared content using OneNote apiGet list of deleted onenote notebooks/sections/pagesExport OneNote content to mht format using api401 Unauthorized on Graph and OneNote API after getting token succesfullyMS Graph Onenote API endpoint not working401 Unauthorized - token not being acceptedAdding new divs (blocks of content) inside OneNote page using the Microsoft Graph APISubscribing to Microsoft Graph notifications API using AAD authenticated notificationUrl endpoint

Multi tool use
How to be sure services and researches offered by the University are not becoming cases of unfair competition?
How to control the output voltage of a solid state relay
How does a simple logistic regression model achieve a 92% classification accuracy on MNIST?
I am getting "syntax error near unexpected token `'$#''" in a simple Bash script
Telling my mother that I have anorexia without panicking her
Output a Super Mario Image
A Mainer Expression
Is there a tool to measure the "maturity" of a code in Git?
How To Make Earth's Oceans as Brackish as Lyr's
What 68-pin connector is this on my 2.5" solid state drive?
How do we know that black holes are spinning?
What officially disallows US presidents from driving?
Does my opponent need to prove his creature has morph?
Contradiction on findings in existing literature
Asked to Not Use Transactions and to Use A Workaround to Simulate One
sed replacing character in a file
ColorFunction based on array index in ListLinePlot
What do the French say for “Oh, you shouldn’t have”?
How are aircraft depainted?
How do certain apps show new notifications when internet access is restricted to them?
What exactly is a marshrutka (маршрутка)?
Why the car dealer is insisting on loan instead of cash
Can I see Harvest moon in India?
What is a "major country" as named in Bernie Sanders' Healthcare debate answers?
Is there any to get user unique identity after authentication process of MS Graph API?
Access to a shared notebook using microsoft graph's APIOnenote get page api issuesHow to access shared content using OneNote apiGet list of deleted onenote notebooks/sections/pagesExport OneNote content to mht format using api401 Unauthorized on Graph and OneNote API after getting token succesfullyMS Graph Onenote API endpoint not working401 Unauthorized - token not being acceptedAdding new divs (blocks of content) inside OneNote page using the Microsoft Graph APISubscribing to Microsoft Graph notifications API using AAD authenticated notificationUrl endpoint
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Currently, I am using the Microsoft OneNote API (REST) to read the content of OneNote Pages. I have already subscribed for the notifications on the event of any changes happens in any page's content. Microsoft so sends me a notification for every change in the content of any page. They send a combination ofX-Authenticated
user_id
and subscription ID in the webhook. Like this:
"value": [
"subscriptionId": "WLID-00000000441A2E0C",
"userId": "WLID-1F50AB22CBE04E58"
]
Recently, MS released the Graph API and recommended to use this one instead of the OneNote API. SO, I am migrating my implementation from OneNote API to Graph API.
I was getting userId
(WLID-1F50AB22CBE04E58
) with X-Authenticated-userId
in the headers of the response of one of this API in OneNote API
https://www.onenote.com/api/v1.0/me/notes/notebooks
But, I am not getting this with Microsoft Graph. There should be a unique identity for each user who is completing the Authentication process.
Where will I get userId
from Microsoft Graph?
microsoft-graph onenote-api
add a comment
|
Currently, I am using the Microsoft OneNote API (REST) to read the content of OneNote Pages. I have already subscribed for the notifications on the event of any changes happens in any page's content. Microsoft so sends me a notification for every change in the content of any page. They send a combination ofX-Authenticated
user_id
and subscription ID in the webhook. Like this:
"value": [
"subscriptionId": "WLID-00000000441A2E0C",
"userId": "WLID-1F50AB22CBE04E58"
]
Recently, MS released the Graph API and recommended to use this one instead of the OneNote API. SO, I am migrating my implementation from OneNote API to Graph API.
I was getting userId
(WLID-1F50AB22CBE04E58
) with X-Authenticated-userId
in the headers of the response of one of this API in OneNote API
https://www.onenote.com/api/v1.0/me/notes/notebooks
But, I am not getting this with Microsoft Graph. There should be a unique identity for each user who is completing the Authentication process.
Where will I get userId
from Microsoft Graph?
microsoft-graph onenote-api
add a comment
|
Currently, I am using the Microsoft OneNote API (REST) to read the content of OneNote Pages. I have already subscribed for the notifications on the event of any changes happens in any page's content. Microsoft so sends me a notification for every change in the content of any page. They send a combination ofX-Authenticated
user_id
and subscription ID in the webhook. Like this:
"value": [
"subscriptionId": "WLID-00000000441A2E0C",
"userId": "WLID-1F50AB22CBE04E58"
]
Recently, MS released the Graph API and recommended to use this one instead of the OneNote API. SO, I am migrating my implementation from OneNote API to Graph API.
I was getting userId
(WLID-1F50AB22CBE04E58
) with X-Authenticated-userId
in the headers of the response of one of this API in OneNote API
https://www.onenote.com/api/v1.0/me/notes/notebooks
But, I am not getting this with Microsoft Graph. There should be a unique identity for each user who is completing the Authentication process.
Where will I get userId
from Microsoft Graph?
microsoft-graph onenote-api
Currently, I am using the Microsoft OneNote API (REST) to read the content of OneNote Pages. I have already subscribed for the notifications on the event of any changes happens in any page's content. Microsoft so sends me a notification for every change in the content of any page. They send a combination ofX-Authenticated
user_id
and subscription ID in the webhook. Like this:
"value": [
"subscriptionId": "WLID-00000000441A2E0C",
"userId": "WLID-1F50AB22CBE04E58"
]
Recently, MS released the Graph API and recommended to use this one instead of the OneNote API. SO, I am migrating my implementation from OneNote API to Graph API.
I was getting userId
(WLID-1F50AB22CBE04E58
) with X-Authenticated-userId
in the headers of the response of one of this API in OneNote API
https://www.onenote.com/api/v1.0/me/notes/notebooks
But, I am not getting this with Microsoft Graph. There should be a unique identity for each user who is completing the Authentication process.
Where will I get userId
from Microsoft Graph?
microsoft-graph onenote-api
microsoft-graph onenote-api
edited Mar 28 at 14:58
Marc LaFleur
22.4k3 gold badges21 silver badges36 bronze badges
22.4k3 gold badges21 silver badges36 bronze badges
asked Mar 28 at 11:08
Anupam BaldiAnupam Baldi
63 bronze badges
63 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
Authentication isn't handled by Microsoft Graph, it's handled by Azure Active Directory. You can get additional user information using OpenID Connect by requesting the scopes openid
, email
, and profile
.
You can also get the current user's profile by calling the /me
endpoint (https://graph.microsoft.com/v1.0/me
).
Webhook Subscriptions also return a creatorId
which will be the id
for the authenticated user that created the subscription.
add a comment
|
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55396078%2fis-there-any-to-get-user-unique-identity-after-authentication-process-of-ms-grap%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Authentication isn't handled by Microsoft Graph, it's handled by Azure Active Directory. You can get additional user information using OpenID Connect by requesting the scopes openid
, email
, and profile
.
You can also get the current user's profile by calling the /me
endpoint (https://graph.microsoft.com/v1.0/me
).
Webhook Subscriptions also return a creatorId
which will be the id
for the authenticated user that created the subscription.
add a comment
|
Authentication isn't handled by Microsoft Graph, it's handled by Azure Active Directory. You can get additional user information using OpenID Connect by requesting the scopes openid
, email
, and profile
.
You can also get the current user's profile by calling the /me
endpoint (https://graph.microsoft.com/v1.0/me
).
Webhook Subscriptions also return a creatorId
which will be the id
for the authenticated user that created the subscription.
add a comment
|
Authentication isn't handled by Microsoft Graph, it's handled by Azure Active Directory. You can get additional user information using OpenID Connect by requesting the scopes openid
, email
, and profile
.
You can also get the current user's profile by calling the /me
endpoint (https://graph.microsoft.com/v1.0/me
).
Webhook Subscriptions also return a creatorId
which will be the id
for the authenticated user that created the subscription.
Authentication isn't handled by Microsoft Graph, it's handled by Azure Active Directory. You can get additional user information using OpenID Connect by requesting the scopes openid
, email
, and profile
.
You can also get the current user's profile by calling the /me
endpoint (https://graph.microsoft.com/v1.0/me
).
Webhook Subscriptions also return a creatorId
which will be the id
for the authenticated user that created the subscription.
answered Mar 28 at 15:02
Marc LaFleurMarc LaFleur
22.4k3 gold badges21 silver badges36 bronze badges
22.4k3 gold badges21 silver badges36 bronze badges
add a comment
|
add a comment
|
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55396078%2fis-there-any-to-get-user-unique-identity-after-authentication-process-of-ms-grap%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
c2r5eIFIf7t