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
Dual Super User
Dual Super User

@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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,261)