microsoft / microsoft/DacFx

SqlPackage - option to skip Windows logins

Open
#426 10 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
460
Forks
29
Avg merge
4d 9h
Merged PRs (30d)
7

Description

  • SqlPackage or DacFx Version: 162.2.60.1
  • .NET Framework (Windows-only) or .NET Core: .Net 8
  • Environment (local platform and source/target platforms): Windows Server 2022

Steps to Reproduce:

  1. Connect Sql Server to Azure Arc
  2. Try to export a bacpac
  3. Get the following result:
    One or more unsupported elements were found in the schema used as part of a data package.
    Error SQL71627: The element User: [NT AUTHORITY\SYSTEM] has property AuthenticationType set to a value that is not supported in Microsoft Azure SQL Database v12.
    Error SQL71627: The element Login: [NT AUTHORITY\SYSTEM] has property IsMappedToWindowsLogin set to a value that is not supported in Microsoft Azure SQL Database v12.

Did this occur in prior versions? If not - which version(s) did it work in?

(DacFx/SqlPackage/SSMS/Azure Data Studio)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the SqlPackage export command and reproduce the Azure Arc to bacpac failure described in the issue. Trace where SQL71627 is reported for Windows users and logins, then define the option's behavior for skipping them. Done means the export can omit those unsupported elements without the reported errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sql
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.