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

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;








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?










share|improve this question
































    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?










    share|improve this question




























      0












      0








      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?










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      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

























          1 Answer
          1






          active

          oldest

          votes


















          0
















          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.






          share|improve this answer
























            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
            );



            );














            draft saved

            draft discarded
















            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









            0
















            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.






            share|improve this answer





























              0
















              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.






              share|improve this answer



























                0














                0










                0









                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                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



















                    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.




















                    draft saved

                    draft discarded















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript