question

SangameshGouri-6531 avatar image
0 Votes"
SangameshGouri-6531 asked Crystal-MSFT commented

Setting File or folder does not exist from Graph SDK for Requiement Tab.

Hi,

Intune UI under Requirement tab for adding Win32 app allows to add different requirement types. Under the File Type requirement it allows select different properties. User can add File or folder does not exist property. Same value cannot be set from the Intune Graph SDK Win32LobAppFileSystemOperationType Enum. It is missing in SDK or it is extra property shown in the Intune UI.

117373-addrequiremfiledoesnotexists.png

When checked even adding File detection rule under Detection tab same property is not shown.
117374-detectionfiletype.png


mem-intune-generalmem-intune-graph
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SangameshGouri-6531 avatar image
0 Votes"
SangameshGouri-6531 answered Crystal-MSFT commented

Hi @Crystal-MSFT,

I see the doesNotExist 6 The specified file or folder does not exist is still part of API Beta.

https://docs.microsoft.com/en-us/graph/api/resources/intune-apps-win32lobappfilesystemoperationtype?view=graph-rest-1.0

Thanks,
Sangamesh

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@SangameshGouri-6531, Yes, your understanding is correct, it is still under Beta.

1 Vote 1 ·

@SangameshGouri-6531, Hope things are going well. I am writing to see if there's anything else we can help. If yes, feel free to let us know.

Have a nice day!

1 Vote 1 ·
Crystal-MSFT avatar image
0 Votes"
Crystal-MSFT answered Crystal-MSFT edited

@SangameshGouri-6531, I have pressed F12 on Intune portal to find the Request URL for Win32 app and then go to Graph explorer to check the app with property "File or Folder does not exist". In the response, I find the detection Type for this property is named "doesNotExist". Here is the information I find: for the reference:
117356-image.png

https://docs.microsoft.com/en-us/graph/api/resources/intune-apps-win32lobappfilesystemdetectiontype?view=graph-rest-beta

Hope it can help.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (142.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SangameshGouri-6531 avatar image
0 Votes"
SangameshGouri-6531 answered SangameshGouri-6531 edited

Hi @Crystal-MSFT

Thanks for your reply. I checked the property returned in the graph explorer. I am using Microsoft.Graph nuget package to set the these properties where there is no property exposed as part this Graph SDK Win32LobAppFileSystemOperationType where as other properties to be present.

Thanks,
Sangamesh

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.