Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Connector Code

** This repository has been consolidated into SharingIsCaring** All links below now point to the new location.

This repo contains script files that will work with Power Platform connectors.

This custom code works with the API Key security method when the parameter name is set to Authorization. It removes the need to ask the user to enter "Bearer " before the token value.

This custom code converts a string to a hash using MD5, SHA1, SHA256, or SHA512 algorithms. The script takes a string and hash type as input and returns the hashed value.

This folder can be added to a .github folder in your VS Code workspace to help validate Power Platform connector artifacts.

Microsoft 365 Copilot Retrieval API connector with Model Context Protocol (MCP) server implementation. Provides tools for retrieving relevant text extracts from SharePoint, OneDrive, and Copilot connectors for grounding AI applications. Includes 4 MCP tools: retrieve_from_sharepoint, retrieve_from_onedrive, retrieve_from_copilot_connectors, and retrieve_multi_source.

This custom code downloads a file from a URL provided as a query parameter, bypassing the connector's standard authorization. Useful for downloading files from URLs that don't require the connector's credentials.

This custom code removes unwanted HTML elements from an API response. Specifically designed to strip social media widgets and GitHub buttons from weather API responses (wttr.in), making the response cleaner for display.

This script is designed to be used with APIs that return an OpenAPI 3.x array response of mixed types. It was designed for the World Bank API.

This script is designed to work with APIs that return null values instead of empty values. Power Platform connectors currently are defined as Swagger, which does not allow null or multiple values. Contains an optional method InferTypeFromPropertyName to define custom field types based on property/field/key name.

Custom code for JWT-based authentication. User creating connection reference will need to set the authentication URL in the variable authURL.

Custom code examples for handling non-standard OAuth 2.0 authentication flows. Includes implementations for Precisely API (client credentials with basic auth) and MailPlus. Useful for APIs that don't follow standard OAuth patterns.

Custom code needed to fix the Airtable connector when the service moved from API key to OAuth 2.0 PKCE authentication.

Custom code for OKTA OAuth 2.0 client credentials authentication. Handles the token exchange from Basic Auth to Bearer token for OKTA API calls. Configure your OKTA domain and required scopes in the script variables.

Workaround for Set Property Policy Template issue when using connection parameters to set POST request body keys. Uses Set Query String Parameter policy then moves the parameter to the request body via custom code.

This custom code sets the Content-Length header to 0 for all requests, regardless of the actual request body content. Useful for APIs that require a Content-Length: 0 header for certain operations.

Custom code for APIs requiring dynamic key names in request bodies. Developed for Databox API where metric key IDs must be used as JSON property names in a specific nested structure.

Custom code to convert JSON requests to XML for APIs that require XML format, and converts XML responses back to JSON. Originally created for the Moneris payment gateway API.