Comments (11)
Hello!
"... if I open the filter manually, I can assign via the GUI." - Do you mean the tools UI or the Intune portal?
Sounds like the app doesn't gave permission to do this but I would expect it to say so in the logs.
Can you attach a log?
Cheers!
from intunemanagement.
Hello!
"... if I open the filter manually, I can assign via the GUI." - Do you mean the tools UI or the Intune portal?
Excuse my unclear answer. This pertains to Intune.microsoft.com. In IntuneMaster, it seems to be working fine.
Sounds like the app doesn't gave permission to do this but I would expect it to say so in the logs.
**I actually saw an error message in the log that should be related.
"Export folder for dependency AssignmentFilters not found"
But I don't get any option to export this when I export policies, and no directory is created with that name either.**
Can you attach a log?
Cheers!
from intunemanagement.
Hello,
This depends on how you did the export.
If you did a bulk export, then you have to include Tenant Admin. That will export the Filters.
If you export "single" objects, you have to export Filters manually.
Also, it's also important during import.
If you import via Bulk, the script will import Filters first. Make sure Tenant Admin is checked.
If you import "single" policies, you have to import Filters first to allow it to resolve dependencies.
Cheers!
from intunemanagement.
Hi!
So I export the filters as the picture below
And choose "Export All"
And the policys as below
The settings look like this
I am sorry but i cant find the "Tenant Admin" to include
I then delete the filters in the tenant and import them again
I verify that the filters exist in the tenant
I then import the policys
The policys are assigned but are show as below
It get the following in the log "Export folder for dependency AssignmentFilters not found Start-IntuneManagement 2024-03-27 14:48:31 17992 (0x4648)"
I am very grateful for your help. Thanks.
from intunemanagement.
Hello!
Check the "Add object name to path" when you export and then export to C:\Temp\Demo.
The dependency functionality requires that the folder name of the exported policies is correct and matching internal names.
eg the folder for the filters must be called AssignmentFilters for the script to find them.
If you create "custom" names, it will not support Bulk import and dependencies will not work.
Cheers and Happy Easter!
from intunemanagement.
Hello again,
Is there anyone else experiencing the same issue?
I have now tried according to what you wrote.
I ran a bulk export to C:\Temp\Demo2 as shown in the image.
And then run a bulk import with the following settings
All policys are created.
Groups are not created and filters are not assigned to either policy, MAM, or anything else.
I have checked the permissions in the Graph Command Line Tools and they look correct.
No errors with assignments in the logs.
I understand that there's no guarantee that this will work, my question is mostly whether it's an error or if it's me doing something wrong, but I can't see what I would be doing wrong.
Thanks a lot for the help.
EDIT:
I actually received ONE error during applications and assignment.
Failed to invoke MS Graph with URL https://graph.microsoft.com/beta/deviceAppManagement/mobileApps/730857f1-4ec5-495a-b31e-6b9443dc86a7/assign (Request ID: 38fb4858-2272-45f9-90ce-caa81cd5f7cb). Status code: NotFound. Response message: . Response message: One or more Assignment Filter Id(s) not found from: 5622c810-de4f-4f14-9017-06874a9ed4e7, . - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: 0de103b2-a63a-4656-ad53-5ed33bf696a4 - Url: https://fef.amsub0502.manage.microsoft.com/AppLifecycle_2403/StatelessAppMetadataFEService/deviceAppManagement/mobileApps('730857f1-4ec5-495a-b31e-6b9443dc86a7')/microsoft.management.services.api.assign?api-version=5024-01-23 - CustomApiErrorPhrase: Unspecified Exception: Remote server returned an error: (404) Not Found.
However, I only get this on that application, no errors on policies using the same filter.
And i Have verifed in the logs that the filters are created and verified in Intune that they are existing.
from intunemanagement.
Hi Again,
Regarding filters, it seems that they get a new ID when imported, and since the policy's filter is based on ID, they cannot be assigned.
from intunemanagement.
Hello,
I'm trying to understand what you are trying to achieve here.
- You exported all settings. That looks good.
- You then import the settings in the same tenant
- Since it is the same tenant the "Replace Dependency IDs" will be disabled.
- Also, since it is the same tenant, it will not create any new groups. That is a part of "Replace Dependency IDs"
- "Always Import" is selected so it will re-import policies again. And it will always get a new ID when importing to another tenant.
- I have new clue why it says that the group is removed from Entra. Did you delete everything before import?
- If you deleted everything and tried to do a restore then it might explain the scenario. What you can do is to edit the MigrationTable.json file and change the TenantId. That will allow you to enable "Replace Dependency IDs".
- The failed assignment is understandable since it didn't resolve dependency IDs and there is no filter with the specified ID in the environment.
Cheers!
from intunemanagement.
Sorry, I perhaps should have been clearer, I just want to verify how it worked, hence I removed everything to import it again.
I appreciate your help, and the solution you provided seems to solve it.
However, there are still two policies that it didn't resolve (Endpoint security).
I'm not sure if it has to do with Microsoft's new interface for antivirus, but I can live with that.
Again, a big thank you for your help and time.
from intunemanagement.
Hello!
What kind of Endpoibt Security policies didn't work? Note that most new Endpoint Security policies are actually Settings Catalog.
Cheers!
from intunemanagement.
Sorry for the later answer.
The issue seems to be my own fault.
Everything seems to work fine now.
Thanks
from intunemanagement.
Related Issues (20)
- Feature Request: Filter by Platform HOT 2
- Compare Intune tenants HOT 7
- Error 0x87d1fde8 with the Reg Value. HOT 3
- Unable to load anything HOT 2
- Not importing some setting catalog policies HOT 2
- Downloading File not working HOT 8
- Newest Security Baseline for Windows 10 not showing HOT 1
- Wait for state CommitFile HOT 1
- Ability to use passkey when authenticating HOT 1
- cannot load information anymore HOT 3
- File upload fails during application import HOT 2
- Unable to log in HOT 8
- "Microsoft Intune PowerShell" is being decommissioned HOT 1
- Application export copies only json file HOT 3
- Unable to login with Google SSO linked account HOT 1
- Issue: Unable to Connect Custom App & Defaulting to Microsoft Graph Command Line Tools HOT 4
- App Configuration Policies-Settings details HOT 13
- Baseline policy import HOT 6
- Importing and using profiles based on ADMX templates HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intunemanagement.