Hello, I am trying to build a custom connector. I am getting error in action. How to resolve this ?
So this the action I want to build.
In Postman tool, it looks like this
In custom connector, Security Tab is configured properly. But actions Get URL is like this !
I know I am doing something mistake. Please help me on this !
https://graph.microsoft.com/v1.0/users/@{replace(triggerBody()?['ProjecManager']?['Claims'],variables('ClaimsText'),'')}
Below is the error
Specified swagger has the following errors: 'Definition is not valid. Error: 'Error : paths/~1v1.0~1users~1@{replace(triggerBody() : The path is not valid, each path template variable enclosed by '{' and '}' characters must be contained within a single URL segment. Individual '{' or '}' characters which are not enclosing a path template variable must be URL encoded.
How to resolve this ?
If you click import from sample you can update the whole thing. You can enter the base API URL (in your case https://graph.microsoft.com/v1.0/users/) added with a ? and then a concatenation of parameter=value separated by an &. So something like https://graph.microsoft.com/v1.0/users/?ProjectManager=HulkHogan&Claims=StrongestManEver. I am not sure if these are the parameters you are looking for, but this will probably be enough to get you there.
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1