Tag Archives: microsoft

How to fix Azure Function App Deployment Error with Flex Plan and Storage Key Restrictions?

Summary Deploying an Azure Function App on the Flex plan and attempting a deployment that writes blocks to a storage account can fail with the error: “Failed to upload the block to storage account: key based authentication is not permitted.” … Continue reading

Posted in Technical Stuff | Tagged , , , , , , | Leave a comment

How to Authenticate and Query Azure Digital Twins using PowerShell?

Summary Continuing from the last post, this entry explores how to achieve the desired outcome using PowerShell—step by step. Step By Step Solution Step # 1: Create a self-signed cert and export a PFX for Azure AD app authentication Intro: … Continue reading

Posted in Technical Stuff | Tagged , , , , | Leave a comment

How to Authenticate and Query Azure Digital Twins Using REST Client?

Summary Azure Digital Twins (ADT) is a powerful IoT platform for modeling and interacting with digital representations of real-world environments. Securely accessing ADT APIs requires Azure Active Directory (AAD) authentication, often using certificates for automation scenarios. This post explains how … Continue reading

Posted in Technical Stuff | Tagged , , , , | Leave a comment

How to find the SharePoint Site is shared with “Everyone except external users”?

Summary The customer requires a solution focused on SharePoint permissions. Specifically, the script is designed to identify sites that have the “Everyone except external users” permission applied. It will operate exclusively at the site level, reading permissions and reporting any … Continue reading

Posted in Technical Stuff | Tagged , , , | Leave a comment

How to map ADFS roles claim rule to Entra ID application? 

Summary  The following is a ADFS claim for the FooBar client’s application.    @RuleTemplate = “LdapClaims” @RuleName = “AD Attributes”  c:[Type == “http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname”, Issuer == “AD AUTHORITY”] =>   issue( store = “Active Directory”,   types = (  “http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier”,   “user.firstName”,  “user.lastName”), query = “;sAMAccountName,givenName,sn;{0}”, param = c.Value);  @RuleTemplate = “EmitGroupClaims” … Continue reading

Posted in EntraID | Tagged , , , , | Leave a comment