Are you ready to take your SharePoint Embedded skills to the next level? This comprehensive guide will equip you with the essential PowerShell commands to effectively manage containers and applications. Whether you're a seasoned developer or an administrator seeking to optimize your environment, I'll provide instructions to help you understand the key PowerShell commands that govern container types and applications in SharePoint Embedded.
Get ready to explore the possibilities of SharePoint Embedded and discover how PowerShell can empower you to achieve your goals. Let's dive in and unlock the full potential!
Managing Container Types
Container types are the foundational elements of SharePoint Embedded applications. They define the general behavior of your containers, allowing you to create different types of experiences within your environment. Here you have the list of PowerShell commands available for creating new container types, configuring their billing models, and setting their general settings to match your specific requirements.
PowerShell Commands for Container Types
- New-SPOContainerType: Creates a new container type. No official documentation available at this moment.
- Get-SPOContainerType: Retrieves information about an existing container type. No official documentation available at this moment.
- Set-SPOContainerType: Sets the Azure configuration for the billing model. No official documentation available at this moment.
- Get-SPOContainerTypeConfiguration: Retrieves the general configuration for the content type. Link
- Set-SPOContainerTypeConfiguration: Sets the general configuration for the content type like tenant discoverability and sharing capabilities. Link
Managing Applications
Applications are the engines that drive functionality within your SharePoint Embedded environment. This chapter equips you with the essential PowerShell commands to effectively manage these applications, including controlling their sharing capabilities, overriding sharing settings in consuming tenants, and managing guest application permissions.
PowerShell Commands for Applications
- Get-SPOApplication: Retrieve a list of existing applications or a specific application based on its ID. Link
- Set-SPOApplication: Control the sharing capabilities of a specific application. This allows you to define how content within the application can be shared with other users separately in each tenant. Link
- Set-SPOApplicationPermission: Manage permissions for guest applications within your SharePoint Embedded environment. This ensures you maintain control over how applications interact with your documents. Link
Managing Containers
Containers are the essential units within your SharePoint Embedded applications. They house the documents (and metadata) of your applications. This chapter equips you with the essential PowerShell commands to manage these containers effectively, encompassing their active and deleted states.
Active Containers are fully functional and readily available for use within your SharePoint Embedded environment. You can interact with them, store documents, and leverage their functionalities.
Deleted Containers have undergone a logical deletion process. While inaccessible for normal operations, their data may still be present for potential recovery. This allows you to restore them if needed.
PowerShell Commands for Containers
These commands are for Active Containers:
- Get-SPOContainer: Retrieve information about active containers within your tenant. Link
- Set-SPOContainer: Modify the properties of an active container, such setting the block download policy or a sensitivity label. Link
- Remove-SPOContainer: Perform a logical deletion of an active container. This makes it inaccessible but potentially recoverable. Link
These commands are for Deleted Containers:
- Get-SPODeletedContainer: Retrieve information about deleted containers within your tenant. This allows you to identify and manage them for potential recovery. Link
- Remove-SPODeletedContainer: Permanently remove a deleted container and its documents. Use this command with caution, as deleted data cannot be recovered after this action. Link
- Restore-SPODeletedContainer: Restore a deleted container and its data, bringing it back to an active state. Link
Conclusion
In this article, we've explored the essential PowerShell commands for effectively managing containers and applications within SharePoint Embedded Service. By understanding these commands and their functionalities, you can streamline your workflows, optimize your environment, and maximize the potential of SharePoint Embedded Service.
Important Note: Please be aware that the SharePoint Embedded Service ecosystem is continually evolving. New PowerShell commands and parameters may be introduced in the coming weeks and months. Consider subscribing to the blog for regular updates and in-depth articles.
Top comments (0)