How can I show UserID of Azure?Securing all APIs in Azure API Management with ADAre there rest calls for these Api Management actions?Query quota for subscriptionAzure API Management Report API using PowershellAuthenticationFailedInvalidHeader when using the Azure API Management REST APIAzure AKS clusters API AuthenticationFailed errorHow to use Authorization for tenant configuration Azure ApimanagementAAD in Azure API Management, avoid signup dialogCreating a new user in the API management with ADB2C

Is it really ~648.69 km/s delta-v to "land" on the surface of the Sun?

Is it true that control+alt+delete only became a thing because IBM would not build Bill Gates a computer with a task manager button?

Do other countries guarantee freedoms that the United States does not have?

How does The Fools Guild make its money?

Is multiplication of real numbers uniquely defined as being distributive over addition?

Improving software when the author can see no need for improvement

How would I as a DM create a smart phone-like spell/device my players could use?

Plausibility of Ice Eaters in the Arctic

As a 16 year old, how can I keep my money safe from my mother?

During the Space Shuttle Columbia Disaster of 2003, Why Did The Flight Director Say, "Lock the doors."?

Should I take out a personal loan to pay off credit card debt?

In Pokémon Go, why does one of my Pikachu have an option to evolve, but another one doesn't?

Blocking people from taking pictures of me with smartphone

Looking for a new job because of relocation - is it okay to tell the real reason?

Word or idiom defining something barely functional

How do I explain to a team that the project they will work on for six months will 100% fail?

How to identify the wires on the dimmer to convert it to Conventional on/off switch

Team goes to lunch frequently, I do intermittent fasting but still want to socialize

Why was CPU32 core created, and how is it different from 680x0 CPU cores?

Does this smartphone photo show Mars just below the Sun?

Pandas: fill one column with count of # of obs between occurrences in a 2nd column

Can I call myself an assistant professor without a PhD

Creating a new project with Laravel throws an exception

How to help new students accept function notation



How can I show UserID of Azure?


Securing all APIs in Azure API Management with ADAre there rest calls for these Api Management actions?Query quota for subscriptionAzure API Management Report API using PowershellAuthenticationFailedInvalidHeader when using the Azure API Management REST APIAzure AKS clusters API AuthenticationFailed errorHow to use Authorization for tenant configuration Azure ApimanagementAAD in Azure API Management, avoid signup dialogCreating a new user in the API management with ADB2C






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I want to try the following API.



User - Get Shared Access Token ( API Management )
https://docs.microsoft.com/en-us/rest/api/apimanagement/user/getsharedaccesstoken



But I can't discover my UserID. It's maybe 24 characters string.
How can I show that?










share|improve this question






























    1















    I want to try the following API.



    User - Get Shared Access Token ( API Management )
    https://docs.microsoft.com/en-us/rest/api/apimanagement/user/getsharedaccesstoken



    But I can't discover my UserID. It's maybe 24 characters string.
    How can I show that?










    share|improve this question


























      1












      1








      1








      I want to try the following API.



      User - Get Shared Access Token ( API Management )
      https://docs.microsoft.com/en-us/rest/api/apimanagement/user/getsharedaccesstoken



      But I can't discover my UserID. It's maybe 24 characters string.
      How can I show that?










      share|improve this question














      I want to try the following API.



      User - Get Shared Access Token ( API Management )
      https://docs.microsoft.com/en-us/rest/api/apimanagement/user/getsharedaccesstoken



      But I can't discover my UserID. It's maybe 24 characters string.
      How can I show that?







      azure azure-api-management






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 27 at 6:53









      Maiko OhkawaMaiko Ohkawa

      3712 silver badges16 bronze badges




      3712 silver badges16 bronze badges

























          2 Answers
          2






          active

          oldest

          votes


















          2














          You could get the userId via powershell or rest api.



          1.Use powershell : Get-AzApiManagementUser



          $ApiMgmtContext = New-AzApiManagementContext -ResourceGroupName "<ResourceGroupName >" -ServiceName "<API Management service name>"
          Get-AzApiManagementUser -Context $ApiMgmtContext


          The command will list all the users, find the one you want, the UserId in the result is that.



          enter image description here



          2.Use rest api : User - List By Service



          GET https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ApiManagement/service/serviceName/users?api-version=2018-06-01-preview


          The name in the result is what you want.



          enter image description here






          share|improve this answer

























          • Thank you! the Rest API is the easiest way for me. It worked well! Thank you very much.

            – Maiko Ohkawa
            Mar 28 at 3:05











          • Or use UI. Navigate to users blade, press Columns button to open columns chooser and select either "Id" for full resource id, or "name" for last segment of id.

            – Vitaliy Kurokhtin
            Mar 28 at 6:27



















          1














          You could use Resource Explorer to fin your user id.



          subscriptions-> your subscription-> resourceGroups -> your resource group -> providers ->
          Microsoft.ApiManagement -> service -> your ApiManagement service -> users



          enter image description here



          The name tag is your userID and the 1 is the default Administrator user id.






          share|improve this answer

























          • @Maiko Ohkawa, any process now?

            – George Chen
            Mar 28 at 1:44











          • I'm sorry for replying so late. Thank you very much. Your advice 1 is the default Administrator user id was useful for me.

            – Maiko Ohkawa
            Mar 28 at 3:30













          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/3.0/"u003ecc by-sa 3.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%2f55371378%2fhow-can-i-show-userid-of-azure%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          You could get the userId via powershell or rest api.



          1.Use powershell : Get-AzApiManagementUser



          $ApiMgmtContext = New-AzApiManagementContext -ResourceGroupName "<ResourceGroupName >" -ServiceName "<API Management service name>"
          Get-AzApiManagementUser -Context $ApiMgmtContext


          The command will list all the users, find the one you want, the UserId in the result is that.



          enter image description here



          2.Use rest api : User - List By Service



          GET https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ApiManagement/service/serviceName/users?api-version=2018-06-01-preview


          The name in the result is what you want.



          enter image description here






          share|improve this answer

























          • Thank you! the Rest API is the easiest way for me. It worked well! Thank you very much.

            – Maiko Ohkawa
            Mar 28 at 3:05











          • Or use UI. Navigate to users blade, press Columns button to open columns chooser and select either "Id" for full resource id, or "name" for last segment of id.

            – Vitaliy Kurokhtin
            Mar 28 at 6:27
















          2














          You could get the userId via powershell or rest api.



          1.Use powershell : Get-AzApiManagementUser



          $ApiMgmtContext = New-AzApiManagementContext -ResourceGroupName "<ResourceGroupName >" -ServiceName "<API Management service name>"
          Get-AzApiManagementUser -Context $ApiMgmtContext


          The command will list all the users, find the one you want, the UserId in the result is that.



          enter image description here



          2.Use rest api : User - List By Service



          GET https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ApiManagement/service/serviceName/users?api-version=2018-06-01-preview


          The name in the result is what you want.



          enter image description here






          share|improve this answer

























          • Thank you! the Rest API is the easiest way for me. It worked well! Thank you very much.

            – Maiko Ohkawa
            Mar 28 at 3:05











          • Or use UI. Navigate to users blade, press Columns button to open columns chooser and select either "Id" for full resource id, or "name" for last segment of id.

            – Vitaliy Kurokhtin
            Mar 28 at 6:27














          2












          2








          2







          You could get the userId via powershell or rest api.



          1.Use powershell : Get-AzApiManagementUser



          $ApiMgmtContext = New-AzApiManagementContext -ResourceGroupName "<ResourceGroupName >" -ServiceName "<API Management service name>"
          Get-AzApiManagementUser -Context $ApiMgmtContext


          The command will list all the users, find the one you want, the UserId in the result is that.



          enter image description here



          2.Use rest api : User - List By Service



          GET https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ApiManagement/service/serviceName/users?api-version=2018-06-01-preview


          The name in the result is what you want.



          enter image description here






          share|improve this answer













          You could get the userId via powershell or rest api.



          1.Use powershell : Get-AzApiManagementUser



          $ApiMgmtContext = New-AzApiManagementContext -ResourceGroupName "<ResourceGroupName >" -ServiceName "<API Management service name>"
          Get-AzApiManagementUser -Context $ApiMgmtContext


          The command will list all the users, find the one you want, the UserId in the result is that.



          enter image description here



          2.Use rest api : User - List By Service



          GET https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ApiManagement/service/serviceName/users?api-version=2018-06-01-preview


          The name in the result is what you want.



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 27 at 8:23









          Joy WangJoy Wang

          11.7k2 gold badges6 silver badges18 bronze badges




          11.7k2 gold badges6 silver badges18 bronze badges















          • Thank you! the Rest API is the easiest way for me. It worked well! Thank you very much.

            – Maiko Ohkawa
            Mar 28 at 3:05











          • Or use UI. Navigate to users blade, press Columns button to open columns chooser and select either "Id" for full resource id, or "name" for last segment of id.

            – Vitaliy Kurokhtin
            Mar 28 at 6:27


















          • Thank you! the Rest API is the easiest way for me. It worked well! Thank you very much.

            – Maiko Ohkawa
            Mar 28 at 3:05











          • Or use UI. Navigate to users blade, press Columns button to open columns chooser and select either "Id" for full resource id, or "name" for last segment of id.

            – Vitaliy Kurokhtin
            Mar 28 at 6:27

















          Thank you! the Rest API is the easiest way for me. It worked well! Thank you very much.

          – Maiko Ohkawa
          Mar 28 at 3:05





          Thank you! the Rest API is the easiest way for me. It worked well! Thank you very much.

          – Maiko Ohkawa
          Mar 28 at 3:05













          Or use UI. Navigate to users blade, press Columns button to open columns chooser and select either "Id" for full resource id, or "name" for last segment of id.

          – Vitaliy Kurokhtin
          Mar 28 at 6:27






          Or use UI. Navigate to users blade, press Columns button to open columns chooser and select either "Id" for full resource id, or "name" for last segment of id.

          – Vitaliy Kurokhtin
          Mar 28 at 6:27














          1














          You could use Resource Explorer to fin your user id.



          subscriptions-> your subscription-> resourceGroups -> your resource group -> providers ->
          Microsoft.ApiManagement -> service -> your ApiManagement service -> users



          enter image description here



          The name tag is your userID and the 1 is the default Administrator user id.






          share|improve this answer

























          • @Maiko Ohkawa, any process now?

            – George Chen
            Mar 28 at 1:44











          • I'm sorry for replying so late. Thank you very much. Your advice 1 is the default Administrator user id was useful for me.

            – Maiko Ohkawa
            Mar 28 at 3:30















          1














          You could use Resource Explorer to fin your user id.



          subscriptions-> your subscription-> resourceGroups -> your resource group -> providers ->
          Microsoft.ApiManagement -> service -> your ApiManagement service -> users



          enter image description here



          The name tag is your userID and the 1 is the default Administrator user id.






          share|improve this answer

























          • @Maiko Ohkawa, any process now?

            – George Chen
            Mar 28 at 1:44











          • I'm sorry for replying so late. Thank you very much. Your advice 1 is the default Administrator user id was useful for me.

            – Maiko Ohkawa
            Mar 28 at 3:30













          1












          1








          1







          You could use Resource Explorer to fin your user id.



          subscriptions-> your subscription-> resourceGroups -> your resource group -> providers ->
          Microsoft.ApiManagement -> service -> your ApiManagement service -> users



          enter image description here



          The name tag is your userID and the 1 is the default Administrator user id.






          share|improve this answer













          You could use Resource Explorer to fin your user id.



          subscriptions-> your subscription-> resourceGroups -> your resource group -> providers ->
          Microsoft.ApiManagement -> service -> your ApiManagement service -> users



          enter image description here



          The name tag is your userID and the 1 is the default Administrator user id.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 27 at 8:26









          George ChenGeorge Chen

          4,1741 gold badge2 silver badges13 bronze badges




          4,1741 gold badge2 silver badges13 bronze badges















          • @Maiko Ohkawa, any process now?

            – George Chen
            Mar 28 at 1:44











          • I'm sorry for replying so late. Thank you very much. Your advice 1 is the default Administrator user id was useful for me.

            – Maiko Ohkawa
            Mar 28 at 3:30

















          • @Maiko Ohkawa, any process now?

            – George Chen
            Mar 28 at 1:44











          • I'm sorry for replying so late. Thank you very much. Your advice 1 is the default Administrator user id was useful for me.

            – Maiko Ohkawa
            Mar 28 at 3:30
















          @Maiko Ohkawa, any process now?

          – George Chen
          Mar 28 at 1:44





          @Maiko Ohkawa, any process now?

          – George Chen
          Mar 28 at 1:44













          I'm sorry for replying so late. Thank you very much. Your advice 1 is the default Administrator user id was useful for me.

          – Maiko Ohkawa
          Mar 28 at 3:30





          I'm sorry for replying so late. Thank you very much. Your advice 1 is the default Administrator user id was useful for me.

          – Maiko Ohkawa
          Mar 28 at 3:30

















          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%2f55371378%2fhow-can-i-show-userid-of-azure%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