Kuluttajariitalautakunnan päätös: Puutteet auton varusteissa
Jussi Palo - How To Code
by Jussi Palo
1y ago
Kuluttajariitalautakunta käsitteli tapaukseni kun tammikuussa 2020 ostamastani autosta puuttui varusteita, jotka tilaushetkellä oli varustelistauksessa. Lautakunta päätyi suosittamaan hyvitystä. Hyvitysvaateissanne voitte viitata Kuluttajariitalautakunnan julkiseen päätökseen Dnro 6279/33/2020. Päätöksen PDF:n saa Kuluttajariitalautakunnalta tai allekirjoittaneelta pyydettäessä. Alla copy&paste julkisen päätöksen tekstisisällöstä.  KULUTTAJARIITALAUTAKUNTA PÄÄTÖS Dnro 6279/33/2020 Esitelty 28.10.2021 IVa jaosto  Myyjän vastuu auton puuttuvista varusteista Lautakunnan ratkaisu ..read more
Visit website
SharePoint: Transport-level error has occurred when receiving results from the server
Jussi Palo - How To Code
by Jussi Palo
1y ago
Problem SharePoint 2016 (on-prem) farm had weird issues on few application and WFE servers. Namely, the servers couldn't connect to SQL Server, but ULS logs showed error: Unknown SQL Exception 64 occurred. Additional error information from SQL Server is included below.  A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) When testing the connection with UDL file, the behavior was also strange, i.e., when testing the connection to server without defining any specific database, t ..read more
Visit website
Edge: Reverting to classic authentication dialog a.k.a disable Windows Hello for HTTP authentication
Jussi Palo - How To Code
by Jussi Palo
1y ago
Problem In recent Microsoft Edge browser versions 90+, the classic authentication dialog has been replaced by Windows Hello authentication prompt. It's all nice and secure, but at the moment at least, browser password vault extensions such as 1Password cannot fill in the credentials to that modern prompt. What it means is that you need to close the Windows Hello prompt, open password extension, copy username/password to notepad, refresh browser window, paste credentials from notepad to Windows Hello prompt. *yawn* This is cumbersome in enterprise scenarios with various internal systems such as ..read more
Visit website
Auth0: Invalid RSAES-OAEP padding
Jussi Palo - How To Code
by Jussi Palo
1y ago
Problem After configuring Auth0 with custom certificates via API, you get Access Denied error when attempting to login. { "error": "access_denied", "error_description": "Invalid RSAES-OAEP padding." } Solution Add an additional  decryptionKey to the connection's options with the following format. options: { //... other options "decryptionKey" : "-----BEGIN RSA PRIVATE KEY-----\nMII...." } Keep in mind that options are replaced, not merged - so you'll need to send the whole options object to the PATCH call ..read more
Visit website
Azure B2C: Adding missing translations on Page Layouts
Jussi Palo - How To Code
by Jussi Palo
1y ago
Problem After starting to use Azure B2C custom Page Layout versions newer than 2.0.0, you will find translations are missing on many controls. Documentation is lacking behind, so it will take some trial and error to figure out some of the translation IDs. In the following pictures, you see missing translations marked with beautiful hand drawn red arrows. Solution As B2C _should_ already include these translations, the only workaround currently is to manually provide the missing strings in your Custom Policy. The following will work for urn:com:microsoft:aad:b2c:elements:contract:unif ..read more
Visit website
Office Add-In: Empty group label
Jussi Palo - How To Code
by Jussi Palo
2y ago
Problem I needed to create Outlook Add-In Ribbon button without Group label, like the Insights Add-In does. Solution As the Group element requires Label, and the String of the Label requires DefaultValue to have some value, the workaround was to set the DefaultValue as one space character. Ta-daa ..read more
Visit website
WebView2: How to hide scrollbars
Jussi Palo - How To Code
by Jussi Palo
2y ago
Problem When using the new Microsoft Edge WebView2 control, it often displays scroll bars and the control doesn't have any explicit property to hide the scroll bars. Solution You need to use custom Javascript at the NavigationCompleted event to hide the scrollbars.  Simply add a new NavigationCompleted event handler for the WebView2 control and use the ExecuteScriptAsync method to run a Javascript that hides the scroll bars. 1234567 private void WebView2_NavigationCompleted(object sender, CoreWebView2NavigationCompletedEventArgs e){if (e.IsSuccess) { ((WebV ..read more
Visit website
Azure Managed Identity: Obtaining token gives error ‘invalid_client’
Jussi Palo - How To Code
by Jussi Palo
2y ago
Problem One of our Azure App Services suddenly started behaving badly and throwing HTTP 400 errors. From Application Insights we could see the error was coming from a call to LOCALHOST:PORT/MSI/token which is the location where access token is requested in case your code wants to access other Azure resources using Managed Identity (formerly MSI). Troubleshooting I went to Kudu PowerShell console of the given App Service and tried to manually get the access_token, but couldn’t. Command for that is: Invoke-WebRequest -Uri 'http://127.0.0.1:41332/MSI/token/?resource=https://management.azure.com ..read more
Visit website
MS Flow: Simplest retry logic for SharePoint Online HTTP 400 errors
Jussi Palo - How To Code
by Jussi Palo
2y ago
Problem Solution ..read more
Visit website
Jussi Palo - How To Code
by Jussi Palo
2y ago
Task I needed to create new SharePoint Online Document Library and amongst other things set a Retention Label on that newly created Document Library using Microsoft Flow. Creating new doclib is straightforward using Flow, but I just couldn’t set the the Retention Label via REST from Flow. There is an API for that, but due to reasons I couldn’t get it to work from Flow. We had an Azure Automation Runbook that was called at the end of the Flow anyway, so I decided to use that to set the Label on the SPO Library using SharePoint Online PnP’s Set-PnPLabel. No problem. However, it takes a while for ..read more
Visit website

Follow Jussi Palo - How To Code on Feedspot

Continue with Google
OR