waaromikniet
waaromikniet
When I use Fiddler I do see a failed request passing by with status 400 Removed username and password Request ``` POST https://login.microsoftonline.com/organizations/oauth2/v2.0/token HTTP/1.1 x-client-SKU: MSAL.Desktop x-client-Ver: 4.17.0.0 x-client-CPU: x64...
Look like it could be caused by the way the value is set in header object handler (ObjectSiteHeaderSettings.cs) by adding the new /_api/web/SetChromeOptions added by the commit from @PaoloPia [commit](https://github.com/pnp/PnP-Sites-Core/commit/6ed366eea2c8281a8235e6cbc012089830162495#diff-2286720b2e4170fc3890f292b6a5f826)
> @waaromikniet i am also facing same issue with apply-template when header is included in the PnP template, is there any work around ? It is failing when I have...
@erwinvanhunen Were can I find this setting? You mean this:  This is EO and Office. NOt for mobile and desktop app? I am testing on an out of the...
@erwinvanhunen LegacyAuthProtocolsEnabled is set to true in my tenant. I have created another tenant and it has the same issue. In that tenant LegacyAuthProtocolsEnabled is also set to true. I...
> right... okay, so for pure auth, PnP PowerShell will use the legacy auth (SharePointOnlineCredentials) option then. I will check what's exactly happening in the engine when it comes to...
> Have you tried the Connect-PnPOnline -PnPManagementShell -Url option? It will go through the consent flow and add the enterprise app to your AD. You can, after you have consented...
@erwinvanhunen I did some more testing an indeed when you remove the enterprise app the error gets back. I did notice 1 strange thing during testing that I would like...
@erwinvanhunen, is this change present in the august release for PnP PowerShell?
Facing the same issue using schema 202002. I get the error Apply-PnPProvisioningTemplate : AADSTS65001: The user or administrator has not consented to use the application with ID '31359c7f-bd7e-475c-86db-fdb8c937548e' named 'PnP...