Answered by:
Assign all users to an application automatically?

Question
-
I've configured SSO in AzureAD with Freshdesk. It's working, for the most part, but it seems that I have to go through every user in the AzureAD portal and assign them to the Freshdesk app. There's got to be a better way to do this... Is there some way to open an app up to anyone in our AzureAD, without having to be specifically assigned to it?Tuesday, May 24, 2016 6:29 PM
Answers
-
Ugh. According to the comments on this post, assigning groups to an application isn't an option in the Office 365 edition of AzureAD, only with AzureAD Basic or Premium. So, that's not going to work. I'll have to take a closer look at tquangfx's links and see if I can get what I need that way.
- Edited by NeighborGeek Tuesday, May 31, 2016 9:30 PM
- Marked as answer by NeighborGeek Wednesday, June 8, 2016 6:32 PM
Tuesday, May 31, 2016 8:16 PM
All replies
-
You can make a csv file contains all the user you want to assign, then send post request to assign them using graph API(https://graph.windows.net/myorganization/servicePrincipals/{0}/appRoleAssignedTo?api-version=1.5)
Please check this blog for details how to bulk assign user with PowerShell:
- Proposed as answer by SadiqhAhmed-MSFTMicrosoft employee Wednesday, May 25, 2016 2:21 PM
- Marked as answer by NeighborGeek Tuesday, May 31, 2016 2:46 PM
- Unmarked as answer by NeighborGeek Tuesday, May 31, 2016 2:50 PM
Wednesday, May 25, 2016 7:55 AM -
- Marked as answer by NeighborGeek Tuesday, May 31, 2016 2:46 PM
- Unmarked as answer by NeighborGeek Tuesday, May 31, 2016 2:50 PM
Wednesday, May 25, 2016 11:05 PM -
You need to assign any app to a user before they can use it. But you can simply do that by enabling the All Users group in your directory and then assign this group to the application. Now all current users will get access, and if users join they will automatically be added to the application as well.
- Marked as answer by NeighborGeek Tuesday, May 31, 2016 2:46 PM
- Unmarked as answer by NeighborGeek Tuesday, May 31, 2016 2:50 PM
Thursday, May 26, 2016 12:11 AM -
Yep, that's essentially what the link I posted above says.
Mike Crowley | MVP
My Blog -- Baseline TechnologiesThursday, May 26, 2016 2:49 AM -
Why don't you use Group based permission assignment? Create a Dynamic Group and add "All Users" keyword. That will include all users from your tenant.
Santhosh Sivarajan | Houston, TX | www.sivarajan.com
ITIL,MCITP,MCTS,MCSE (W2K3/W2K/NT4),MCSA(W2K3/W2K/MSG),Network+,CCNA
My Books: | Windows Server Security | Windows Server 2012
Blogs | Twitter | LinkedIn | Facebook|
This posting is provided AS IS with no warranties, and confers no rights.Thursday, May 26, 2016 2:34 PM -
It seems that Dynamic Groups require AzureAD premium, which is not included in our Office 365 E1 subscription.
I do have an existing group which would work for this purpose, sync'd from our on premises AD, but I don't see any way to assign a group to an application in AzureAD. How would I go about assigning a group to an app?
Tuesday, May 31, 2016 2:53 PM -
How do I assign a group to an application? When I'm looking at the application in the azureAD portal, only Users are listed, no groups.Tuesday, May 31, 2016 2:58 PM
-
Ugh. According to the comments on this post, assigning groups to an application isn't an option in the Office 365 edition of AzureAD, only with AzureAD Basic or Premium. So, that's not going to work. I'll have to take a closer look at tquangfx's links and see if I can get what I need that way.
- Edited by NeighborGeek Tuesday, May 31, 2016 9:30 PM
- Marked as answer by NeighborGeek Wednesday, June 8, 2016 6:32 PM
Tuesday, May 31, 2016 8:16 PM -
https://azure.microsoft.com/en-us/updates/azure-active-directory-dynamic-membership-for-groups/
Mike Crowley | MVP
My Blog -- Baseline TechnologiesHmm, despite the link above explicitly stating "There is no additional charge for this feature", the actual configuration screen states otherwise:
Mike Crowley | MVP
My Blog -- Baseline TechnologiesMonday, June 13, 2016 7:26 PM