IntuneManagement
IntuneManagement copied to clipboard
Groups Assignments
Hello Miche K,
When I import a policy or an application, the assignments are not importing as well. I have to manually reassign the policies and applications in my new tenant. But in the Info is written that it will create a new group if it is not in the Tenant. But it is not creating.
Can you please help me with this?
Thank you.
Your sincerly
Nidi Kumar
Hello,
Did you include the groups in the export?
You will have a Groups directory with json files if you did.
Note: All groups will be created at first import. Even if you import just one policy.
Cheers!
Hello,
the groups are in the policy on my old tenant already included.
Thank you for your help!
Nidi Kumar
Hello, one more question should I make a JSON File will all the Groups and import that first after that the Policys?
Thank you
Nidi Kumar
Hello,
"The groups the in the policy" - Foes that mean you have an exported json of the groups?
They should be created during export, if you selected to include them and the app has permissions to the Groups API. And the app must of course have write permissions to Group for the import. The log should probably have some errors if you are missing permissions.
Cheers!
Hello,
no no i meant should I export all Groups via JSON, because it doesnt create a group automatically when i export the policys or the applications.
Thank you
Hello,
"The groups the in the policy" - Foes that mean you have an exported json of the groups?
They should be created during export, if you selected to include them and the app has permissions to the Groups API. And the app must of course have write permissions to Group for the import. The log should probably have some errors if you are missing permissions. (The Groups don't create while exporting it is written in the Option but in the real life it is not working)
Cheers!
Hello,
So sorry, missed to reply.
Json files should be created during export if you select to export with assignments. Make sure you select all the settings for export
You should then have a Groups folder in the Export folder + one folder for each object type you exported.
I just did an export of an app with the settings above and this is the destination folder,.
Cheers!
Hi,
one more question, can I export 1 application instead of all Applications? (click on Export All)
Because when I export 1 Application then the Groups and MigrationTable.JSON didnt come. (click on Export selected)
Hello, Sorry, completely missed this. Migration file and Groups should be there is you selected "Export Applications" and there are at least one group assigned to the application.