SOLVED

Tab application settings

Copper Contributor

Hello Dear Team,

I am newbie with MS Teams Dev, sorry for may be idiotic question from me

I would like a make some Application for MS Teams (Tab app, Personal and for use in a group), user that will be used it should have ability to set some parameters for it

 

Where values of settings will be kept? Do they keep in the local storage (like in a classical modern web browser) or?

 

I will be happy to get some snippets of code, or kick in the right way

 

I use Blazor for developing

 

Thanks, and be well!

5 Replies
Could you please let us know what are the parameters set up by app users? It would be helpful if you could provide some screenshots for reference.

Dear @Meghana-MSFT I have the next pice of code:

private IAzure LogInAzure(string clientId, string clientSecret, string clientTenantId)
{
var creds = SdkContext.AzureCredentialsFactory.FromServicePrincipal(
clientId,
clientSecret,
clientTenantId,
environment: AzureEnvironment.AzureGlobalCloud);

return Azure.Configure()
.WithLogLevel(HttpLoggingDelegatingHandler.Level.Basic)
.Authenticate(creds)
.WithDefaultSubscription();
}



And I want to store these variables: "string clientId, string clientSecret, string clientTenantId" in the localStorage

Thanks for help!

Could you please confirm if clientId and clientSecret is changed every time? If not you can store clientId, clientSecret, clientTenantId in appsettings file.
Dear Meghana, nope, cause these data can be changed and second, the end-user should have ability for change these credential data
best response confirmed by Doykin (Copper Contributor)
Solution
You can follow this blog(https://thomy.tech/microsoft-teams-tab-with-blazor/) to create a MS Teams Tab application using blazor.

Thanks,
Prasad Das
--------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.
1 best response

Accepted Solutions
best response confirmed by Doykin (Copper Contributor)
Solution
You can follow this blog(https://thomy.tech/microsoft-teams-tab-with-blazor/) to create a MS Teams Tab application using blazor.

Thanks,
Prasad Das
--------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.

View solution in original post