Assigning add-in permissions to a new user automatically, Exchange on Premises











up vote
1
down vote

favorite












We are trying to automate the process of giving permission to group of users to access add-in on Prem. The problem with the method we are currently using is, every time there is a new user added to the group we have to run this script.



$a = Get-DistributionGroupMember Marketing
Set-App -Identity ac83a9d5-5af2-446f-956a-c583adc94d5e -OrganizationApp -ProvidedTo SpecificUsers -UserList $a.Identity -DefaultStateForUser Enabled


We found that there is a new Office365 Add-in Management console which lets you automate the process as mentioned in this article:




Groups: If you assign an add-in to a group, users who are added to the group will automatically be assigned the add-in. And, when a user is removed from a group, the user loses access to the add-in




We are trying to find a similar way of automating the process on Prem so that when new user is added to the group, he or she automatically gets the permission of using add-in without the Admin running the above script again.



Not exactly sure if it makes any difference, but our environment is hybrid. We were also wondering if changes made on Office365 can be synced back to on Prem.










share|improve this question




























    up vote
    1
    down vote

    favorite












    We are trying to automate the process of giving permission to group of users to access add-in on Prem. The problem with the method we are currently using is, every time there is a new user added to the group we have to run this script.



    $a = Get-DistributionGroupMember Marketing
    Set-App -Identity ac83a9d5-5af2-446f-956a-c583adc94d5e -OrganizationApp -ProvidedTo SpecificUsers -UserList $a.Identity -DefaultStateForUser Enabled


    We found that there is a new Office365 Add-in Management console which lets you automate the process as mentioned in this article:




    Groups: If you assign an add-in to a group, users who are added to the group will automatically be assigned the add-in. And, when a user is removed from a group, the user loses access to the add-in




    We are trying to find a similar way of automating the process on Prem so that when new user is added to the group, he or she automatically gets the permission of using add-in without the Admin running the above script again.



    Not exactly sure if it makes any difference, but our environment is hybrid. We were also wondering if changes made on Office365 can be synced back to on Prem.










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      We are trying to automate the process of giving permission to group of users to access add-in on Prem. The problem with the method we are currently using is, every time there is a new user added to the group we have to run this script.



      $a = Get-DistributionGroupMember Marketing
      Set-App -Identity ac83a9d5-5af2-446f-956a-c583adc94d5e -OrganizationApp -ProvidedTo SpecificUsers -UserList $a.Identity -DefaultStateForUser Enabled


      We found that there is a new Office365 Add-in Management console which lets you automate the process as mentioned in this article:




      Groups: If you assign an add-in to a group, users who are added to the group will automatically be assigned the add-in. And, when a user is removed from a group, the user loses access to the add-in




      We are trying to find a similar way of automating the process on Prem so that when new user is added to the group, he or she automatically gets the permission of using add-in without the Admin running the above script again.



      Not exactly sure if it makes any difference, but our environment is hybrid. We were also wondering if changes made on Office365 can be synced back to on Prem.










      share|improve this question















      We are trying to automate the process of giving permission to group of users to access add-in on Prem. The problem with the method we are currently using is, every time there is a new user added to the group we have to run this script.



      $a = Get-DistributionGroupMember Marketing
      Set-App -Identity ac83a9d5-5af2-446f-956a-c583adc94d5e -OrganizationApp -ProvidedTo SpecificUsers -UserList $a.Identity -DefaultStateForUser Enabled


      We found that there is a new Office365 Add-in Management console which lets you automate the process as mentioned in this article:




      Groups: If you assign an add-in to a group, users who are added to the group will automatically be assigned the add-in. And, when a user is removed from a group, the user loses access to the add-in




      We are trying to find a similar way of automating the process on Prem so that when new user is added to the group, he or she automatically gets the permission of using add-in without the Admin running the above script again.



      Not exactly sure if it makes any difference, but our environment is hybrid. We were also wondering if changes made on Office365 can be synced back to on Prem.







      office-js outlook-web-addins office365-apps






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 15 at 20:08

























      asked Nov 15 at 19:54









      Namig Ismayilov

      2110




      2110
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          You could find a list of all the attributes that are synced between on-premises and the cloud right here.



          You could change the source authorization from Azure AD to local active Directory. Please see the following link:



          Change The Source Authority from Azure AD to Local Active Directory






          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',
            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%2f53327015%2fassigning-add-in-permissions-to-a-new-user-automatically-exchange-on-premises%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








            up vote
            1
            down vote













            You could find a list of all the attributes that are synced between on-premises and the cloud right here.



            You could change the source authorization from Azure AD to local active Directory. Please see the following link:



            Change The Source Authority from Azure AD to Local Active Directory






            share|improve this answer

























              up vote
              1
              down vote













              You could find a list of all the attributes that are synced between on-premises and the cloud right here.



              You could change the source authorization from Azure AD to local active Directory. Please see the following link:



              Change The Source Authority from Azure AD to Local Active Directory






              share|improve this answer























                up vote
                1
                down vote










                up vote
                1
                down vote









                You could find a list of all the attributes that are synced between on-premises and the cloud right here.



                You could change the source authorization from Azure AD to local active Directory. Please see the following link:



                Change The Source Authority from Azure AD to Local Active Directory






                share|improve this answer












                You could find a list of all the attributes that are synced between on-premises and the cloud right here.



                You could change the source authorization from Azure AD to local active Directory. Please see the following link:



                Change The Source Authority from Azure AD to Local Active Directory







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 16 at 9:21









                Bruce

                1044




                1044






























                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2f53327015%2fassigning-add-in-permissions-to-a-new-user-automatically-exchange-on-premises%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

                    Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                    ComboBox Display Member on multiple fields

                    Is it possible to collect Nectar points via Trainline?