Forum Discussion
Doykin
Nov 14, 2021Copper Contributor
Tab application settings
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 wil...
- Nov 19, 2021You 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.
Doykin
Nov 15, 2021Copper Contributor
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!
Meghana-MSFT
Nov 16, 2021Former Employee
Could you please confirm if clientId and clientSecret is changed every time? If not you can store clientId, clientSecret, clientTenantId in appsettings file.
- DoykinNov 17, 2021Copper ContributorDear Meghana, nope, cause these data can be changed and second, the end-user should have ability for change these credential data