Jussi Palo - How To Code
453 FOLLOWERS
Jussi Palo is a Senior Consultant, Partner at Sulava Oy, Co-Founder at Apped. He Answers to Microsoft Technology related questions, such as SharePoint, Office 365.
Jussi Palo - How To Code
4M ago
Question
How to find out if my SharePoint Online tenant has legacy add-ins that stop working when the legacy add-in model is retiring?
Answer
In order to list add-ins, you can use few techniques:
SharePoint REST API
PnP CSOM
PnP PowerShell
CLI for Microsoft 365
Easiest in my opinion is the CLI for Microsoft 365, as it will give you the result in just a two commands. If you wish to build further automation, you will want to pick the PnP PowerShell library to use in your PowerShell script or the PnP CSOM if you're using .NET.
To get a quick list or add-ins using the CLI for Microsoft 365 ..read more
Jussi Palo - How To Code
2y 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
Jussi Palo - How To Code
2y 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
Edge: Reverting to classic authentication dialog a.k.a disable Windows Hello for HTTP authentication
Jussi Palo - How To Code
2y 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
Jussi Palo - How To Code
2y 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
Jussi Palo - How To Code
3y 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
Jussi Palo - How To Code
3y 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
Jussi Palo - How To Code
3y 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
Jussi Palo - How To Code
3y 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