阅读 82

Set up powerapps to use SharePoint Online

 

When you use SharePoint Online with customer engagement apps (Dynamics 365 Sales, Dynamics 365 Customer Service, Dynamics 365 Field Service, Dynamics 365 Marketing, and Dynamics 365 Project Service Automation), you can:

  • Create, upload, view, and delete documents stored in SharePoint from within customer engagement apps.

  • Use the SharePoint document management abilities within customer engagement apps, such as checking the document in and out and changing document properties.

  • Enable non-customer engagement apps users, such as customers who want to review a bid, to directly access the SharePoint documents, provided they have the appropriate permissions.

 Important

This topic is for organizations who wish to deploy for the first time or upgrade to server-based SharePoint integration. After you enable server-based SharePoint integration, you can‘t revert to the previous client-based authentication method.

 Tip

 Check out the following video: 

To set up customer engagement apps to use SharePoint Online, complete the following steps.

Assign user permissions to the Team SharePoint site

Your customer engagement apps and Microsoft 365 users are not automatically allowed access to your SharePoint sites. You must work within the SharePoint site to assign specific permission levels to individual users or groups.

Assign users to the Team site

  1. Browse to the  and sign in using Microsoft 365 Global administrator credentials.

  2. Open the Microsoft 365 app launcher, and then select SharePoint.

  3. On the left-side menu, select Team Site.

  4. On the Home page, select SHARE (upper-right corner).

  5. To view the default permissions for your team site, select lots of people.

  6. By default, all users in your Microsoft 365 organization are able to add and edit documents on the Team SharePoint site. To invite others, choose Invite people and add people external to your organization to share documents.

For more information about SharePoint permissions, see 

Configure customer engagement apps for SharePoint document management

If you are a new organization and have not yet deployed document management, see .

If your organization is already using document management with Microsoft Dynamics CRM List Component, you must switch to server-based SharePoint integration. More information: 

 Important

Server-based SharePoint integration uses the entity display name to build the SharePoint library. When you upgrade to server-based SharePoint integration, be sure to check that the display names in your document library on SharePoint match the entity display names. More information: .

These names should match.

Configure a new organization

If your organization has not deployed document management, when a System Administrator logs in an alert message will be displayed to enable server-based SharePoint integration.

 Note

If you don‘t see the alert and have not previously enabled server-based SharePoint integration, clear your browser cache or open customer engagement apps using Internet Explorer with InPrivate browsing to have the alert display again. Once you configure server-based integration, the alert will no longer appear.

  1. In the Power Platform admin center, select an environment.

  2. Select Settings > Integration > Document management settings, and then select Enable server-based SharePoint integration.

  3. In the Enable Server-based SharePoint Integration alert select Next.

  4. Choose Online for where your SharePoint sites are located, and then choose Next.

  5. If your customer engagement apps are not connected to a SharePoint online site, enter the URL (for example ) of your SharePoint site that you will use for auto folder creation, and then choose Next.

     Tip

    To see your SharePoint site collections, in the Microsoft 365 admin center, select Admin centers > SharePoint, and then select site collections.

  6. The URL will be checked for being a valid SharePoint online site and for existing in the same Microsoft 365 tenant as your organization. After enabling server-based SharePoint integration you can‘t go back to the previous client-side integration. Choose Enable.

Next steps

Once server-based SharePoint integration is enabled you will need to enable the entities you want available for document management integration. More information: 

Once server-based SharePoint integration is enabled you can also enable integration with OneNote and OneDrive. More information:  and 

Using Document Management

You are now ready to add document storage locations to the entities you enabled above and start managing documents. Begin by opening a document management-enabled record (for example, Contact).

  1. Browse to your web application.

  2. Choose an account, such as the Adventure Works sample account.

  3. On the nav bar, select the down arrow next to the account name, and then select Documents.

  4. Select Upload, and then browse to a document to upload to the new folder in your Microsoft 365SharePoint Online Team site.

  5. Select a folder location, and then select Ok.

  6. To see the document in your Microsoft 365SharePoint Online Team site, select to the left of the document name (you‘ll see a check mark), and then select Open Location.

  1. Select Site Contents to see all the document libraries created for the managed entities you selected.

    The entities you selected to be managed by Document Management appear as document libraries (for example: Account, Article, Case, Lead, Opportunity, Product, Quote, and Sales Literature).

Known issue

SharePoint Online has introduced a new feature that enables a SharePoint or global administrator in Microsoft 365 to block or limit access to SharePoint and OneDrive content from unmanaged devices. For more information, see .

You can set access at three levels:

  1. Allow full access from desktop apps, mobile apps and the web
  2. Allow limited, web-only access
  3. Block access

For "Block Access" level, only devices that satisfy the AD trust policy defined by the SharePoint or global admin can open SharePoint site and perform operations.

Impact on customer engagement apps and SharePoint Online integration

When SharePoint Online is configured for "Block Access", customer engagement apps receives a 401 UnAuthorized response from SharePoint Online for all operations triggered using server-to-server integration. This is because SharePoint Online rejects the AppAssertedUser token (the claims-based token which is used for server-to-server authentication between customer engagement apps and SharePoint Online).

Work around

As a workaround, you can set the unmanaged devices policy to "Allow full access from desktop apps, mobile apps, and the web" on SharePoint Online.

  1. Sign in to  as a global or SharePoint admin. If you see a message that you don‘t have permission to access the page, you don‘t have Microsoft 365 administrator permissions in your organization.

  2. In the left pane, select Admin centers > SharePoint.

  3. In the SharePoint admin center, select access control in the left pane.

  4. Under Unmanaged devices, select Allow full access from desktop apps, mobile apps, and the web.

  5. Select Ok.

Information transmitted between customer engagement apps and SharePoint when you use server-based SharePoint integration

When you use the document management feature in customer engagement apps by using server-based SharePoint integration, the following information is transmitted between customer engagement apps and SharePoint:

  • Entity name for the entity that is used to create folders in SharePoint, such as Account, Article, or Lead. To configure the entities that are integrated, go to Settings > Document Management > Document Management Settings.

原文:https://www.cnblogs.com/lingdanglfw/p/14943326.html

文章分类
代码人生
版权声明:本站是系统测试站点,无实际运营。本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 XXXXXXo@163.com 举报,一经查实,本站将立刻删除。
相关推荐