Forum Discussion
Bron_Brookes
Jul 11, 2024Copper Contributor
Unable to change Folder Content Type to Document Set or Vise Versa
Hoping I can get some assistance.
Issue: I have a SharePoint library that uses document sets. This library is sync'd to a few staff members local computers so they can manage files. Staff have been creating new folders in the local explorer. This is fine, however they folders are created as the content type "Folder" instead of the document set content type. We used to be able to go into the SharePoint library on the browser and change the content type from folder from the information pane, now we can only do it using rest api. Does anyone know when this feature will be available or if there is a setting I need to turn on to make it work?
Hi thanhtien19,
to configure Edge to access Outlook Web with user enrollment, you need to do the following:
- Make sure that you have configured Conditional Access (CA) to allow user enrollment. To do this, create a new CA policy and set the Conditions to Device platforms and Select the platforms to All platforms. Then, set the Controls to Grant access and Require enrollment.
- Create a new app configuration policy for Edge. To do this, go to Devices > Configuration profiles > Create profile. Select App configuration as the profile type and select Microsoft Edge as the target app.
- In the App configuration policies section, click Add. Enter a name for the policy and select Single sign-on as the policy type.
- In the Single sign-on configuration section, select Enabled.
- Click Save.
- Assign the app configuration policy to the users who will be using Edge to access Outlook Web.
Once you have completed these steps, users will be able to access Outlook Web in Edge without having to sign in.
Note: If you are using the Intune Company Portal to enroll user devices, you will need to make sure that the Encrypt only work data checkbox is not selected. This is because Conditional Access requires devices to be enrolled in Intune in order to access protected resources.
Here are some additional troubleshooting tips:
- Make sure that the user's device is meeting the compliance requirements of your Conditional Access policy. You can check this by going to Devices > All devices and selecting the user's device.
- Make sure that the user's Edge app is up to date. You can check this by going to the Microsoft Store app on the user's device and selecting Downloads and updates.
- Try clearing the user's Edge cache and cookies. To do this, open Edge and go to Settings > Privacy, search, and services > Clear browsing data.
- Try resetting Edge. To do this, open Edge and go to Settings > Reset settings > Restore settings to their original defaults.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
3 Replies
Sort By
- Bron_BrookesCopper Contributoryeah we have that in place. Client is just not happy with that as an answer. Was hoping that maybe it had been patched. Does anyone know why it was removed or whether it is something they plan to bring back?
- SABBIR_RUBAYATIron ContributorThe feature to change the content type of a folder to a document set directly from the SharePoint library's information pane used to be available, but it seems to have been altered or removed in recent updates. As of now, the ability to change the content type in this manner is not available, and using the REST API is the workaround.
Here are a few steps to manage this situation and alternatives:
Using REST API
REST API Method: You can use SharePoint REST API to change the content type of a folder to a document set. Here's a basic outline of how you might do this:
Use GetFolderByServerRelativeUrl to get the folder.
Update the folder's content type using the Update method
POST /_api/web/GetFolderByServerRelativeUrl('/sites/yoursite/Shared Documents/yourfolder')/ListItemAllFields
{
"__metadata": { "type": "SP.Data.YourLibraryNameItem" },
"ContentTypeId": "0x0120D520A8D97A4A8D9A43C6DAEC0AFC54" // Example Document Set content type ID
}
Alternative Methods
Library Settings and Policies:
Check if there are any site collection features or library settings that might be affecting content type management. Ensure that content type management is enabled for the library.
Go to the library settings, and under “Advanced settings”, ensure that “Allow management of content types” is set to “Yes”.
Power Automate (Flow):
Create a Power Automate flow that triggers when a new folder is created and then changes the content type to a document set. This approach can automate the process and remove manual intervention.
Example steps:
Trigger: When a new item is created in the library.
Action: Update item properties, including changing the content type.- sumithassaneshanCopper Contributor.