sharepoint
3 TopicsUnable to authenticate with MSAL using a certificate
Hi guys, I'm using the certificate authentication for my WinForms app to connect to SharePoint and Graph API. I followed this article to create the certificate https://learn.microsoft.com/en-us/entra/identity-platform/howto-create-self-signed-certificate Uploaded the certificate to the App Registration, gave all appropriate permissions. However, when I tried to connect to SharePoint or the Graph API, I got this error A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details. Original exception: AADSTS700021: Client assertion application identifier doesn't match 'client_id' parameter. Review the documentation at https://learn.microsoft.com/entra/identity-platform/certificate-credentials . Microsoft.Graph.ServiceException: Code: generalException Message: An error occurred sending the request. BUT, this only happened on 1 specific machine running Windows 11 Pro. I tested on 4-5 different machines (both W10 and W11), they didn't get this error. I tried verifying the cert thumbprint which matched the one uploaded on the App Registrations. The certificate is not stored in the machine cert store, I use X509KeyStorageFlags.EphemeralKeySet when calling it. Not sure what else to check.Solved146Views0likes6CommentsUpdate on Modern Site Collection Search Usage Reports
Isn't it time for a better search? We are increasingly turning to search engines to accomplish tasks and make decisions – in fact over half the internet population will start their internet experience with a search engine.13KViews5likes3CommentsCreating custom search results pages in SharePoint Online
We’re excited to announce that you can now create custom search results pages in SharePoint Online, extending the benefits and flexibility of Microsoft Search so you can make it your own. With custom results pages you can create a new page that can be used to control the layout and design of search results to support your custom needs and now use open-source search web parts from SharePoint Patterns and Practices community, as well as any custom web parts that you may have developed using SharePoint Framework. PnP modern search web parts Custom search results pages with SharePoint Online will be displayed when searching through the native search box, instead of the out of box search results page. NOTE Custom results pages will only be displayed when searching through the modern search box(Microsoft Search). This capability is rolling out WW. A visual queue that Microsoft Search is available in your tenant is the move of the search box from the app or service canvas to the suite navigation bar (header). Modern search box in the suite navigation bar The custom search results page will be used in the same scenarios that were showing the site search results page (when you enter search from site pages, or the home page of the site for example). It will not be in effect when you are searching within a list, library or the site contents page. You may use the link to expand your search from search results in these experiences to get to the custom results page. To configure a custom results page in SharePoint Online follow the steps below: Browse to the site where you would like to configure a custom results page and select Site Collection Settings, Search Settings. In Search Settings, choose to “Send queries to a custom results page”, and provide a value for Results page URL: and save your changes. Configuring the custom results page in SharePoint Optionally you can use PnP-PowerShell to configure the custom results page as follows: Set-PnPSearchSettings -SearchPageUrl "https://tenant.sharepoint.com/..." Learn more about this command at https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnpsearchsettings?view=sharepoint-ps. . NOTE The custom results page needs to be on the same domain as your site, but doesn’t have to be in the same site collection. In addition to this update, we’re also introducing a new page layout for custom search results pages that can optionally be used to make the search results page appear closer to our out of box search results experience. This new layout can only be active for the pages that are set to be the custom search results page. To learn more about custom results page, check out our Ignite 2019 Search Customization and Development session and bookmark Microsoft Search on YouTube at https://www.youtube.com/channel/UC-d4Q5pvRf6IVJuWY8wpAFw/. Resources For open source projects, getting started with our Microsoft Search APIs, and more customization and extensibility samples, visit Microsoft Search on GitHub at https://github.com/microsoft-search. Keep up to date with Microsoft Search on our resource center at https://aka.ms/microsoftsearch and follow us on Twitter @MicrosoftSearch. If you would like to leave feedback to our teams on Microsoft Search visit https://microsoftsearch.uservoice.com. We’re listening!
92KViews13likes42Comments