Like in postman you can also just use PowerAutomate Flows to create, update or archive or get all configured Urls.
The flows call the Azure Functions.
The PowerAutomate Flows require a premium license (e.g. a per user license) to use the premium connectors.
You should have already deployed your version of the Azure Url Shortener
[AzUrlShortener] - Create new ShortURL: Download and import Flow
When you open the new imported Flow you need to set the correct HTTP Url to the Azure Function.
For that goto your Azure Function App Service and copy the Url for the UrlShortener Azure Function.
When you run the Flow and you have set the correct URL to the Azure Function your new ShortUrl is created and returned in the HTTP call:
[AzUrlShortener] - Get all Urls: Download and import Flow
Manual update or archive is not implemented as it requires to pass a few parameter which not be known (The update Flow can be done of course, it's implemented in the SharePoint list) Parameters to pass (e.g. to change the long Url):
- new Url
- RowKey
- PartitionKey
- Vanity
Parameters to pass to archive a Url
- RowKey
- PartitionKey
- Vanity
Import the Flows and run them
If you have question or encounter any problem using this admin Frontend with AzShortenerUrl please feel free to ask help in the issues section.