Configures Azure Communication Services SMS in Orchard Core. Covers AzureSmsSettings, AzureSmsProvider, encrypted connection strings, tenant vs. host configuration, and recipe-based feature enablement.
Ships in orchardcore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
OrchardCore.Sms.Azure adds Azure Communication Services as a provider for the
base OrchardCore.Sms module (see orchardcore-sms). It supplies tenant
settings and a configuration-backed default provider. Use the base
ISmsService from application code so another provider can be selected later
without rewriting the sending service.
OrchardCore.Sms.Azure depends on OrchardCore.Sms.AzureSmsProvider (Azure) is the tenant-configured provider;
DefaultAzureSmsProvider (DefaultAzure) reads host configuration.AzureSmsOptions.ConfigurationExists() requires both PhoneNumber and ConnectionString.Result.{ "steps": [...] } format.{
"steps": [
{
"name": "Feature",
"enable": [
"OrchardCore.Sms",
"OrchardCore.Sms.Azure"
]
}
]
}
The Azure startup calls AddAzureSmsProvider(), which registers
AzureSmsOptionsConfiguration, a signal-backed change token source for
AzureSmsOptions, and the provider options configuration, plus the Azure
settings display driver.
Navigate to Settings → Communication → SMS and open the Azure
Communication Services tab. AzureSmsSettings contains:
| Property | Description |
|---|---|
IsEnabled | Enables the Azure provider for the tenant. |
ConnectionString | ACS connection string, stored encrypted with Data Protection. |
ConnectionStringSecretName | 4.0. Name of a TextSecret holding the connection string; takes precedence over ConnectionString. |
PhoneNumber | ACS sending number in E.164 format. |
Enter the connection string in the admin UI; AzureSmsOptionsConfiguration
decrypts the stored value, so a plain connection string imported by a recipe
cannot be read. After saving, select Azure on the Providers tab; enabling
the feature does not select it. Saved changes refresh AzureSmsOptions and
SmsProviderOptions through IOptionsMonitor<T> without a shell release.
With the OrchardCore.Secrets feature enabled, the connection string editor
offers Use a secret (suggested name AzureSms.ConnectionString), and a
saved connection string can be moved without retyping it from Tools →
Security → Migrate Secrets. A recipe can create the secret with the
Secrets step (value from the OrchardCore__Secrets__AzureSms.ConnectionString
environment variable) and set "ConnectionStringSecretName": "AzureSms.ConnectionString"
in AzureSmsSettings. See orchardcore-secrets.
DefaultAzureSmsOptions binds OrchardCore:Sms:Azure and becomes enabled only
when a phone number and connection string are supplied:
{
"OrchardCore": {
"Sms": {
"Azure": {
"PhoneNumber": "+18005551234",
"ConnectionString": "endpoint=https://your-resource.communication.azure.com/;accesskey=your-key"
}
}
}
}
Provide the key through OrchardCore__Sms__Azure__ConnectionString or a key
vault rather than a committed file. In 4.0 a configured ConnectionString
logs a LegacySecretConfiguration warning (event 8100); this provider can't
reference a secret, so use the tenant Azure provider to keep the connection
string in the Secrets module. Use this provider when host configuration
centrally supplies ACS credentials, then select it with a recipe:
{
"steps": [
{
"name": "Settings",
"SmsSettings": {
"DefaultProviderName": "DefaultAzure"
}
}
]
}
using OrchardCore.Infrastructure;
using OrchardCore.Sms;
namespace MyModule;
public sealed class AppointmentReminderService
{
private readonly ISmsService _smsService;
public AppointmentReminderService(ISmsService smsService)
{
_smsService = smsService;
}
public Task<Result> SendAsync(
string phoneNumber,
CancellationToken cancellationToken = default)
{
return _smsService.SendAsync(
new SmsMessage
{
To = phoneNumber,
Body = "Your appointment is tomorrow.",
},
cancellationToken);
}
}
Set SmsMessage.From to send from another number owned by the ACS resource;
otherwise the configured PhoneNumber is used. Check Result.Succeeded and
handle errors without logging the full message body or unnecessary personal
data.
The base SMS module adds the SMS Task workflow activity when Workflows is
enabled, including the optional From Phone Number field. Enable
OrchardCore.Notifications.Sms separately when user notifications should offer
SMS according to each user's preferences. The Azure module remains only the
delivery provider; it does not add a workflow activity.
{
"steps": [
{
"name": "Feature",
"enable": [
"OrchardCore.Sms",
"OrchardCore.Sms.Azure",
"OrchardCore.Workflows"
]
}
]
}
Verify the selected provider, tenant settings, ACS resource connection string, sending phone number, and recipient format. Confirm Azure region and subscription restrictions before treating an application-level send result as a code defect.
The Azure module contributes providers to SmsProviderOptions rather than
replacing ISmsService. For shared hosting, the configuration-backed provider
can simplify operations. For isolated tenants, prefer per-tenant Azure settings
and access controls so a tenant cannot send through another tenant's
Communication Services resource. Custom ACS providers can derive from
AzureSmsProviderBase<TOptions> (TOptions : AzureSmsOptions), whose
constructor takes IOptionsMonitor<TOptions>, IPhoneFormatValidator, a
logger, and a string localizer.
OrchardCore_Sms_AzureCommunicationServices → OrchardCore:Sms:Azure
(environment variable OrchardCore__Sms__Azure__ConnectionString). The old
name still binds but is deprecated.IOptions<AzureSmsOptions> → IOptionsMonitor<AzureSmsOptions>.CurrentValue.AzureSmsSettings gains
ConnectionStringSecretName, so code reading ConnectionString directly must
honor it. The configuration value still works but logs LegacySecretConfiguration.What SKILL.md sets; muted values are Claude Code's defaults
/orchardcore:orchardcore-sms-azurefrom orchardcore
npx claudepluginhub crestapps/crestapps.agentskills --plugin orchardcore140 skills in this plugin
/orchardcore-adminGuidance for the Orchard Core admin panel, including admin controllers and routes, admin menu registration with AdminNavigationProvider, ocat editor forms grouped in cards, admin pages rendering Model.Editor, the UI text casing standard, TheAdmin layout and menu colors, admin branding, the Navbar shape, the Ctrl+K quick navigation palette and QuickNavigationSource, AdminSettings such as MenuBehavior, ShowBreadcrumb, DisplayQuickNavigation, DisplayTitlesInTopbar and ActionsLayout, the AdminDashboard shape, settings pages, and admin filters and zones. Use this skill when requests mention the Orchard Core admin panel, TheAdmin, admin controllers, admin menu registration, an icon on an admin menu item, the AdminSettings recipe step, quick navigation, navigation menu behavior, the admin URL prefix, UI text casing. Strong matches include OrchardCore.Admin, AdminSettings, AdminPermissions, AdminOptions, AdminAttribute, SiteDisplayDriver, IDisplayManager./orchardcore-admin-dashboardSkill for creating admin dashboard widgets in Orchard Core. Covers the DashboardWidget stereotype, DashboardPart position and sizing, the built-in HtmlDashboardWidget, ContentsMetadata and ContentsTags widget types, custom widget content types via recipe or migration, arranging widgets in Manage Dashboard mode, widget template customization, provisioning widgets with recipes, dashboard permissions, the DashboardBreadcrumbProvider Dashboard ancestor, and the AdminDashboardContent shape used when the feature is disabled. Use this skill when requests mention Orchard Core Admin Dashboard, Create and Configure Dashboard Widgets, Enabling Admin Dashboard, Widget Configuration Properties, dashboard widget recipes, Dashboard breadcrumb, or related implementation, setup, or troubleshooting work. Strong matches include OrchardCore.AdminDashboard, DashboardPart, DashboardBreadcrumbProvider, AccessAdminDashboard, ManageAdminDashboard.Other plugins' skills for the same job