User Profile
karamem0
Brass Contributor
Joined 7 years ago
User Widgets
Recent Discussions
Re: Supports API-Key or X-Functions-Key in API-based message extension
Prasad_Das-MSFT Thank you for replying, I will post the feedback. As a workaround, I can convert Beaer token to X-Functions-Key header using APIM. <set-header name="X-Functions-Key" exists-action="override"> <value>@(Regex.Match(context.Request.Headers.GetValueOrDefault("Authorization",""), "^Bearer (?<key>.+)$").Groups["key"]?.Value)</value> </set-header>494Views0likes0CommentsRe: Supports API-Key or X-Functions-Key in API-based message extension
Prasad_Das-MSFT My idea is Teams detects OpenAPI Security Schema when specified authType: apiSecretServiceAuth. https://spec.openapis.org/oas/v3.0.1#security-scheme-object manifest.json "composeExtensions": [ { "composeExtensionType": "apiBased", "authorization": { "authType": "apiSecretServiceAuth", "apiSecretServiceAuthConfiguration": { "apiSecretRegistrationId": "9xxxxb0f-xxxx-40cc-xxxx-15xxxxxxxxx3" } } swagger.json "securitySchemes": { "apikeyheader_auth": { "type": "apiKey", "name": "X-Functions-Key", "in": "header" } }785Views0likes2CommentsSupports API-Key or X-Functions-Key in API-based message extension
Hi all, I am tring to imprement a Teams app with API-based message extension. The backend of the API is Azure Funtions HTTP trigger and requires an API key. The API-based message extension supports the API key authentiation, but the key is sent as Bearer token (Authtorization header). Unfortunately, Azure Funtions does not supports Bearer token. Also I tried to include an OpenAPI security schemas, but it was ignored. Some other API (e.g. OpenAI Service) accepts an API key with API-Key header. I think it is not common method to send an API key with Bearer token. I think it is helpful that the users can specifiy the authencation method (by OpenAPI spec, maybe).972Views0likes4CommentsDeep link to channel tab does not work in new Teams (v2)
I am getting the web URL of teams tab using Graph API. Request: GET https://graph.microsoft.com/v1.0/teams/07a93f.../channels/19:ba1a...@thread.tacv2/tabs/... Response: { "id": "...", "displayName": "Calendar", "webUrl": "https://teams.microsoft.com/l/channel/19%3a..." } In v1 (Teams classic) I could open a tab directly using webUrl. but I got an error in new Teams (v2). The error message: "Error: Unsupported tab type" Is it any idea to resolve the issue?4.4KViews1like14CommentsGET /v1.0/teams/{id}/channels returns HTTP 403 error
I met HTTP 403 error when invoking GET /v1.0/teams/{id}/channels request. The error message is: { "message":"Request is not allowed for externally authenticated users", "errorCode":"GuestAccessDenied" } I have granted the Channel.ReadBasic.All permission to Azure AD app and the access token has Channel.ReadBasic.All scope. The delegated user is a guest user, but the same request was successfully invoked in past. There are no change in Teams Admin settings and Azure AD settings. I want to know how to resolve the issue. Is it caused by any settings?551Views0likes0CommentsMgmt.AppCatalog.LOBApp.Upload.BadRequest.UnknownTeamsAppManifestExceptionType error has occured
I cannot upload custom app into organization because Mgmt.AppCatalog.LOBApp.Upload.BadRequest.UnknownTeamsAppManifestExceptionType error has occured. What I tried: I tried to upload same app to other tenant but got same error. I tried to upload other app but got same error. What happened?Solved23KViews8likes50CommentsRe: "Manifest parsing has failed." in Developer Portal
Sayali-MSFT I imported the manifest file and I clicked "Preview in Teams". The error is resolved but nothing happen. I think the install dialog will be shown after clicked "Preview in Teams". Also I found the difference. The Developer Portal app in Teams web browser and Teams Developer Portal refers same repogitory. The Developer Portal app in Teams desktop app refers "App Studio" repository. I think "App Studio" is currently deprecated and it doesn't support the latest manifest version. But The Developer Portal app uses latest manifest version. Is it the reason that causes error?5.1KViews0likes35CommentsRe: "Manifest parsing has failed." in Developer Portal
Sayali-MSFT I granted Global Administrator, but I could not it. I found the difference when clicking Preview button. In my environments, this URL was called to retrieve the manifest file (Base64 encoded). https://dev.teams.microsoft.com/apac/api/appdefinitions/{{app-id}}/manifest But the result is not same when I called the URL directly (deleted apac). https://dev.teams.microsoft.com/api/appdefinitions/{{app-id}}/manifest Is this relevant?15KViews0likes41CommentsRe: "Manifest parsing has failed." in Developer Portal
ChetanSharma-msft When I have changed the App ID, I was enabled to preview the app via https://dev.teams.microsoft.com and https://teams.microsoft.com/_#/l/app/{{app-id}}?installAppPackage=true. But I can't still lanch the app via Developer Portal App (in Microsoft Teams).15KViews0likes45CommentsRe: "Manifest parsing has failed." in Developer Portal
Sayali-MSFT Thank you for replying. This is the manifest file (And I attached the app package zip file). I want to add a personal tab for the app. The tab URL is sample. Any other URLs causes the same issue. { "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json", "version": "1.0.0", "manifestVersion": "1.12", "id": "945a7eaf-60e2-4a17-9488-552215189da5", "packageName": "com.package.name", "name": { "short": "SampleApp", "full": "SampleApp" }, "developer": { "name": "karamem0", "mpnId": "", "websiteUrl": "https://github.com/karamem0", "privacyUrl": "https://github.com/karamem0", "termsOfUseUrl": "https://github.com/karamem0" }, "description": { "short": "SampleApp short description", "full": "SampleApp full description" }, "icons": { "outline": "outline.png", "color": "color.png" }, "accentColor": "#FFFFFF", "staticTabs": [ { "entityId": "3139441a-ef5c-475f-8779-6d50d57ca5dc", "name": "Home", "contentUrl": "https://github.com/karamem0", "websiteUrl": "https://github.com/karamem0", "scopes": [ "personal" ] }, { "entityId": "about", "scopes": [ "personal" ] } ], "validDomains": [ "github.com" ] }15KViews0likes55Comments"Manifest parsing has failed." in Developer Portal
I am using the Developer Portal app in Teams. I got "Manifest parsing has failed." error when click "Preview in Teams" button. Also I got "App does not have the required permissions for this operation." error after click "x" button. I have no validation error in the manifest file. How can I fix it?Solved26KViews2likes60CommentsHow to reset SharingAllowedDomainList and SharingBlockedDomainList in tenant
Once I updated SharingAllowedDomainList and SharingBlockedDomainList property using Set-SPOSite for test purpose. Set-SPOTenant -SharingAllowedDomainList "example.com" -SharingBlockedDomainList "example.com" Now that the test is over, I tried to reset these properties but I could not it. Set-SPOTenant -SharingAllowedDomainList "" -SharingBlockedDomainList "" The cmdlet causes an error. Set-SPOTenant : Adding an empty domain name I also tried from SharePoint Admin Center, but could not clear the properties. How to fix it?Solved1.9KViews0likes1Comment
Recent Blog Articles
No content to show