I locked myselft out of Digital Twins by deleting my '/' space admin RoleAssignment










1















even as the owner of a digital twin instance, how can I get my root level space admin rights back? in our case, we were lucky and had a second mega boss person at hand to "reinstate" me. will digital twin allow you to delete the "last" root level space admin role assignment? is there a way to push one back in from the azure portal? it's not clear to us what the access control in the azure portal does - it doesn't seem to influence access rights in the space graph.
kind regards,
Gregor










share|improve this question


























    1















    even as the owner of a digital twin instance, how can I get my root level space admin rights back? in our case, we were lucky and had a second mega boss person at hand to "reinstate" me. will digital twin allow you to delete the "last" root level space admin role assignment? is there a way to push one back in from the azure portal? it's not clear to us what the access control in the azure portal does - it doesn't seem to influence access rights in the space graph.
    kind regards,
    Gregor










    share|improve this question
























      1












      1








      1








      even as the owner of a digital twin instance, how can I get my root level space admin rights back? in our case, we were lucky and had a second mega boss person at hand to "reinstate" me. will digital twin allow you to delete the "last" root level space admin role assignment? is there a way to push one back in from the azure portal? it's not clear to us what the access control in the azure portal does - it doesn't seem to influence access rights in the space graph.
      kind regards,
      Gregor










      share|improve this question














      even as the owner of a digital twin instance, how can I get my root level space admin rights back? in our case, we were lucky and had a second mega boss person at hand to "reinstate" me. will digital twin allow you to delete the "last" root level space admin role assignment? is there a way to push one back in from the azure portal? it's not clear to us what the access control in the azure portal does - it doesn't seem to influence access rights in the space graph.
      kind regards,
      Gregor







      azure-digital-twins






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 8 '18 at 23:49









      GregorGregor

      805




      805






















          2 Answers
          2






          active

          oldest

          votes


















          2














          Thanks for the question @Gregor
          Currently the Digital Twins APIs do allow you to lock yourself out--and delete even the "last" "/" role assignment. Re-instating through the portal or otherwise is not an option so it's good that you had another mega boss at hand. If this does happen you'd have to engage the product team by creating a support ticket






          share|improve this answer






























            0














            Thanks for your inquiry and patience! The Azure Digital Twins service and documentation are undergoing continuous improvement.



            Additional resources have been added to the documentation and previous content has been updated. Perhaps you'll find the two articles describing RBAC to be more helpful: https://docs.microsoft.com/azure/digital-twins/security-role-based-access-control and https://docs.microsoft.com/azure/digital-twins/security-create-manage-role-assignments.



            In general, there are two ways to have your role reinstated. First, you can recreate your personal Azure Digital Twins instance. That's not ideal since multiple users might be associated with it. If you are required to go down that path, the good news is that you have the entire JSON describing your role permissions available to you through the Management APIs. Thus, restoring the desired degree of access is possible provided someone preserved the role descriptions before you reprovision.



            The other alternative is to call upon your Service Principal or equivalent superadmin user to personally reissue the role as (now) described in the documentation above.



            Thanks!






            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/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%2f53217857%2fi-locked-myselft-out-of-digital-twins-by-deleting-my-space-admin-roleassignm%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














              Thanks for the question @Gregor
              Currently the Digital Twins APIs do allow you to lock yourself out--and delete even the "last" "/" role assignment. Re-instating through the portal or otherwise is not an option so it's good that you had another mega boss at hand. If this does happen you'd have to engage the product team by creating a support ticket






              share|improve this answer



























                2














                Thanks for the question @Gregor
                Currently the Digital Twins APIs do allow you to lock yourself out--and delete even the "last" "/" role assignment. Re-instating through the portal or otherwise is not an option so it's good that you had another mega boss at hand. If this does happen you'd have to engage the product team by creating a support ticket






                share|improve this answer

























                  2












                  2








                  2







                  Thanks for the question @Gregor
                  Currently the Digital Twins APIs do allow you to lock yourself out--and delete even the "last" "/" role assignment. Re-instating through the portal or otherwise is not an option so it's good that you had another mega boss at hand. If this does happen you'd have to engage the product team by creating a support ticket






                  share|improve this answer













                  Thanks for the question @Gregor
                  Currently the Digital Twins APIs do allow you to lock yourself out--and delete even the "last" "/" role assignment. Re-instating through the portal or otherwise is not an option so it's good that you had another mega boss at hand. If this does happen you'd have to engage the product team by creating a support ticket







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 14 '18 at 3:45









                  ranahranah

                  41439




                  41439























                      0














                      Thanks for your inquiry and patience! The Azure Digital Twins service and documentation are undergoing continuous improvement.



                      Additional resources have been added to the documentation and previous content has been updated. Perhaps you'll find the two articles describing RBAC to be more helpful: https://docs.microsoft.com/azure/digital-twins/security-role-based-access-control and https://docs.microsoft.com/azure/digital-twins/security-create-manage-role-assignments.



                      In general, there are two ways to have your role reinstated. First, you can recreate your personal Azure Digital Twins instance. That's not ideal since multiple users might be associated with it. If you are required to go down that path, the good news is that you have the entire JSON describing your role permissions available to you through the Management APIs. Thus, restoring the desired degree of access is possible provided someone preserved the role descriptions before you reprovision.



                      The other alternative is to call upon your Service Principal or equivalent superadmin user to personally reissue the role as (now) described in the documentation above.



                      Thanks!






                      share|improve this answer



























                        0














                        Thanks for your inquiry and patience! The Azure Digital Twins service and documentation are undergoing continuous improvement.



                        Additional resources have been added to the documentation and previous content has been updated. Perhaps you'll find the two articles describing RBAC to be more helpful: https://docs.microsoft.com/azure/digital-twins/security-role-based-access-control and https://docs.microsoft.com/azure/digital-twins/security-create-manage-role-assignments.



                        In general, there are two ways to have your role reinstated. First, you can recreate your personal Azure Digital Twins instance. That's not ideal since multiple users might be associated with it. If you are required to go down that path, the good news is that you have the entire JSON describing your role permissions available to you through the Management APIs. Thus, restoring the desired degree of access is possible provided someone preserved the role descriptions before you reprovision.



                        The other alternative is to call upon your Service Principal or equivalent superadmin user to personally reissue the role as (now) described in the documentation above.



                        Thanks!






                        share|improve this answer

























                          0












                          0








                          0







                          Thanks for your inquiry and patience! The Azure Digital Twins service and documentation are undergoing continuous improvement.



                          Additional resources have been added to the documentation and previous content has been updated. Perhaps you'll find the two articles describing RBAC to be more helpful: https://docs.microsoft.com/azure/digital-twins/security-role-based-access-control and https://docs.microsoft.com/azure/digital-twins/security-create-manage-role-assignments.



                          In general, there are two ways to have your role reinstated. First, you can recreate your personal Azure Digital Twins instance. That's not ideal since multiple users might be associated with it. If you are required to go down that path, the good news is that you have the entire JSON describing your role permissions available to you through the Management APIs. Thus, restoring the desired degree of access is possible provided someone preserved the role descriptions before you reprovision.



                          The other alternative is to call upon your Service Principal or equivalent superadmin user to personally reissue the role as (now) described in the documentation above.



                          Thanks!






                          share|improve this answer













                          Thanks for your inquiry and patience! The Azure Digital Twins service and documentation are undergoing continuous improvement.



                          Additional resources have been added to the documentation and previous content has been updated. Perhaps you'll find the two articles describing RBAC to be more helpful: https://docs.microsoft.com/azure/digital-twins/security-role-based-access-control and https://docs.microsoft.com/azure/digital-twins/security-create-manage-role-assignments.



                          In general, there are two ways to have your role reinstated. First, you can recreate your personal Azure Digital Twins instance. That's not ideal since multiple users might be associated with it. If you are required to go down that path, the good news is that you have the entire JSON describing your role permissions available to you through the Management APIs. Thus, restoring the desired degree of access is possible provided someone preserved the role descriptions before you reprovision.



                          The other alternative is to call upon your Service Principal or equivalent superadmin user to personally reissue the role as (now) described in the documentation above.



                          Thanks!







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jan 14 at 20:24









                          Adam GerardAdam Gerard

                          183214




                          183214



























                              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%2f53217857%2fi-locked-myselft-out-of-digital-twins-by-deleting-my-space-admin-roleassignm%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

                              Use pre created SQLite database for Android project in kotlin

                              Darth Vader #20

                              Ondo