![]() |
VOOZH | about |
dotnet add package BizDoc.Authentication.Azure --version 10.7.0
NuGet\Install-Package BizDoc.Authentication.Azure -Version 10.7.0
<PackageReference Include="BizDoc.Authentication.Azure" Version="10.7.0" />
<PackageVersion Include="BizDoc.Authentication.Azure" Version="10.7.0" />Directory.Packages.props
<PackageReference Include="BizDoc.Authentication.Azure" />Project file
paket add BizDoc.Authentication.Azure --version 10.7.0
#r "nuget: BizDoc.Authentication.Azure, 10.7.0"
#:package BizDoc.Authentication.Azure@10.7.0
#addin nuget:?package=BizDoc.Authentication.Azure&version=10.7.0Install as a Cake Addin
#tool nuget:?package=BizDoc.Authentication.Azure&version=10.7.0Install as a Cake Tool
Add Azure authentication and storage for BizDoc.
dotnet add package BizDoc.Authentication.Azure
program.cs
using System.Security.Claims;
builder.Services.AddBizDoc(options => {
options.IdentityClaimType = ClaimTypes.Name;
}).
AddAzure(options => {
options.ApplicationId = "{application-id-here}";
options.TenantId = "{tenant-id-here}";
options.ClientId = "{client-id-here}";
options.ClientSecret = "{client-secret-here}";
options.SystemGroupName = "{system-id-here}";
});
s
app.UseAzure();
You can use the appsettings.json file.
{
"Azure": {
"ApplicationId": "{application-id-here}",
"TenantId": "{tenant-id-here}",
"ClientId": "{client-id-here}",
"ClientSecret": "{client-secret-here}",
"SystemGroupName": "{system-id-here}"
}
}
And provide the section name to AddAzure().
builder.Services.AddBizDoc(options => {
...
}).
AddAzure(builder.Configuration.GetSection("Azure"), configure => {
...
});
The ApplicationId should be set to the application Object ID and the ClientId to the Application (client) ID.
IdentityClaimType needs to be set to one of:
| Claim | Usage |
|---|---|
| ClaimConstants.ObjectId | |
| ClaimTypes.Name or ClaimTypes.Upn | |
| ClaimTypes.Sid | |
| ClaimTypes.Email | |
| AzureClaimTypes.EmployeeId | |
| AzureClaimTypes.OnPremisesSecurityIdentifier | |
| AzureClaimTypes.OnPremisesSamAccountName | |
| AzureClaimTypes.OnPremisesUserPrincipalName |
AzureClaimTypes (EmployeeId, etc.) are supported only on SAML. Add Attributes & Claims matching the claim name.
The SystemGroupName maps to BizDoc admin group.
AddAzure(options => {
...
}, configure =>
configure
.UsePasswordBasedSignOn()
.UseIdentityProvider());
Set Reply URL to /signin-oidc, and Logout Url to /signout-callback-oidc.
AddAzure(options => {
...
options.ClientCertificates = [ new CertificateDescription {
SourceType = CertificateSource.StoreWithThumbprint,
CertificateStorePath = "CurrentUser/My",
CertificateThumbprint = "{certificate-thumbprint-here}"
} ];
}, configure =>
configure
.UseSAML()
.UseIdentityProvider());
Set mode to SAML in app.module.ts.
You can use the appsettings.json file.
{
"Azure": {
"ClientCertificates": [
{
"SourceType": "StoreWithThumbprint",
"CertificateStorePath": "CurrentUser/My",
"CertificateThumbprint": "{certificate-thumbprint-here}"
}
],
...
}
}
Download certificate and set CertificateThumbprint.
UseActionableMessages();
/api/office/take_action
Set a storage for attachments.
AddBizDoc().
AddAzure(
options => ...,
configure => configure
.UseBlobFileStorage(o => o.ConnectionString = "{connection-string-here}"));
Set EmailAddress.
builder.Services.AddBizDoc().
AddAzure(
options => ...,
configure => configure
.UseGraphEmailer(o => o.Sender = "bizdoc@compant.com") /* replaces SMTP */
.AddGraphEmailFeedback(o => o.Mailbox = "{bizdoc-address-here}"));
app.UseBizDoc().UseGraphEmailFeedback();
builder.Services.AddBizDoc().
AddAzure(
options => ...,
configure => configure
.UseActionableEmails(o => ...));
public class MyClass(INotificationEmailer emailer) {
emailer.SendAsync(...);
}
Check ID tokens and switch Allow public client flows to yes.
User.Read.AllUserTeamwork.Read.AllGroup.Read.AllGroupMember.Read.AllOrganization.Read.AllPlace.Read.AllContacts.ReadOrgContact.Read.AllSites.Read.AllTeam.ReadBasic.AllTeamMember.Read.AllIn addition, Mail.ReadWrite and Mail.Send is required when UseEmailer() or UseMailFeedback().
Manager, document owner manager in Azure.
Directory Role.
My Group Peers.
My Team Peers.
Direct Reporters Pending.
Teams Performance.
Groups Performance.
Departments Performance.
Administrative Units Performance.
| Name | Usage |
|---|---|
| DirectoryGroups | |
| DirectoryRoles | |
| BookingBusinesses | |
| Contacts | |
| DirectoryRoles | |
| Places | |
| Organizations | |
| AdministrativeUnits | |
| EducationSchools | |
| EducationClasses | |
| Sites | |
| Teams | |
| Plans | |
| Departments | User department |
| Name | Usage |
|---|---|
| OwnerCountry | |
| OwnerTeamworkData | require property name |
| OwnerEmployeeOrgData | require property name |
| OwnerAdditionalData | require property name |
| OwnerPlannerData | require property name |
| OwnerEmployeeId | |
| OwnerEmployeeType | |
| OwnerDepartment | |
| OwnerEmployeeDivision | |
| OwnerEmployeeCostCenter | |
| OwnerMySite |
| Name | Usage |
|---|---|
| OwnerDepartment | |
| OwnerEmployeeDivision | |
| OwnerEmployeeCostCenter | |
| OwnerEmployeeType | |
| OwnerCompanyName | |
| UserEmployeeDivision | |
| UserEmployeeCostCenter | |
| UserEmployeeType | |
| OwnerTeams | |
| UserAdditionalData | require property name |
| UserTeamworkAdditionalData | require property name |
| OwnerTeamworkAdditionalData | require property name |
| UserEmployeeOrgData | require property name |
| OwnerAdditionalData | require property name |
| Name | Usage |
|---|---|
| DivisionResolver | |
| CostCenterResolver |
Install the module.
npm i @bizdoc/azure
Import the module in app.module.
imports: [AzureModule.forRoot({
clientId: '{client-id-here}',
mode: 'SAML|Password-Based',
})]
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on BizDoc.Authentication.Azure:
| Package | Downloads |
|---|---|
|
BizDoc.Social.Teams
Teams for BizDoc |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.7.0 | 103 | 6/11/2026 |
| 10.6.0 | 105 | 6/7/2026 |
| 10.5.0 | 120 | 5/7/2026 |
| 10.2.0 | 138 | 3/4/2026 |
| 10.1.0 | 140 | 2/9/2026 |
| 10.0.0 | 152 | 1/6/2026 |
| 9.10.1 | 166 | 12/29/2025 |
| 9.9.1 | 736 | 12/3/2025 |
| 9.7.1 | 263 | 9/25/2025 |
| 9.7.0 | 269 | 9/13/2025 |
| 9.6.4 | 253 | 9/10/2025 |
| 9.6.3 | 272 | 9/3/2025 |
| 9.6.2 | 248 | 9/2/2025 |
| 9.6.1 | 241 | 9/2/2025 |
| 9.6.0 | 263 | 9/2/2025 |
| 9.5.0 | 207 | 8/3/2025 |
| 9.4.1 | 180 | 8/3/2025 |
| 9.4.0 | 256 | 7/27/2025 |
| 9.3.4 | 372 | 7/20/2025 |
| 9.2.4 | 267 | 7/8/2025 |