Author Archives: Pankaj

Unknown's avatar

About Pankaj

I am a Developer and my linked profile is https://www.linkedin.com/in/pankajsurti/

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 build Custom engagement hub channel for Copilot Studio?

Summary This blog post explores the process of transferring interactions to a live agent of a custom engagement hub, replicating the seamless transition experience as offered in Microsoft Dynamics 365 Customer Service (see video here). I will provide a detailed … Continue reading

Posted in Technical Stuff | Leave a comment

How to clean up the FHIR objects using bundle in PowerShell?

Summary This post is continuation of the previous post. How to clean up the FHIR objects in the Postman received as a bundle? PowerShell Code Conclusion This is other ways you can clean up the FHIR objects.

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

How to get SAML payload decoded using PowerShell and browser developer tools?

Summary This article is to show how to decode the Single Sign-on SAML payload in Microsoft Entra. Solution Follow the following links to create an Enterprise Applications in Entra. ClaimsXRay in AzureAD with Directory Extension Look for the SAML Payload … Continue reading

Posted in Azure, EntraID, powershell | Leave a comment

How to add domain/samaccountname claim attribute in Entra Application?

Summary The customer’s app required an UPN claim in the format of domain/samaccountname. Usually the UserPrincipal attribute is an email address. The customer has the hybrid identity and Active Directory is synched. The following technique can give you the domain/samaccountname … Continue reading

Posted in Azure, EntraID | Leave a comment

What are the benefits to explain “Assignment required?” and “Visible to users?” flags to the customer?

Summary To transition ADFS application to Entra ID you are creating the Enterprise application. You will notice two flags, “Assignment required?” and “Visible to users?”. If you hover over the text it clearly states that if this flag is set … Continue reading

Posted in Azure, EntraID | 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