cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
guillem95
Frequent Visitor

"All URIs must use HTTPS". Error with the Action "Send HTTP Request":

Hello,

 

I am using the action "HTTP" to create a tab in Microsoft Teams. I've followed this instructions. This post uses Bearer Token, which must be introduced as Headers.

 

For sure, my URI is "https://graph.microsoft.com/beta/teams/XXXXXXXX/channels/XXXXXXXXXXX/Tabs", just notice that Team ID and Channel ID has been replaced by XXXX.

 

The body request is the following:

{
  "displayName""Project",
  "teamsAppId""com.microsoft.teamspace.tab.web",
  "configuration": {
    "entityId""2DCA2E6C7A10415CAF6B8AB6661B3154",
    "removeUrl"""
  }
}

 

Then, why the body response is "All URIs must use HTTPS"?

 

{
  "error": {
    "code""BadRequest",
    "message""All URIs must use HTTPS.",
    "innerError": {
      "date""2021-04-03T12:41:18",
      "request-id""XXXXXXXXXXXXXXXXXX",
      "client-request-id""XXXXXXXXXXXXX"
    }
  }
}
2 REPLIES 2
rsaikrishna
Community Champion
Community Champion

@guillem95 

 

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

 

Try v1.0 version and post here if you run into any issues.

 

You can find the documentation to add a tab to channel here:

https://docs.microsoft.com/en-us/graph/api/channel-post-tabs?view=graph-rest-1.0

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
guillem95
Frequent Visitor

Hello,

 

Still has the same problem "All URI's must use HTTPS" while all my URI's use HTPPS for sure..

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (1,286)