次の方法で共有


削除された Microsoft Dataverse テーブル レコードを復元する (プレビュー)

[この記事はプレリリース ドキュメントであり、変更されることがあります。]

通常の Microsoft Dataverse のビジネス プロセスの一環として、ユーザーは、システム プロセス、単一選択、複数選択、一括削除などにより、手動または体系的に、計画的または偶発的にレコードやトランザクションを削除することがよくあります。 削除されたデータを取得するのは困難であり、多くの場合、レコードは必ずしも復元可能ではありません。 この制限に対処するために、指定された構成可能な 概算時間 内のほとんどの種類の削除シナリオからテーブル レコード データを回復するためにごみ箱が利用できます。

開発者は、コードを使用してこの機能を操作する方法については、コードを使用して削除されたレコードを復元する (プレビュー) をご確認ください。

重要

  • これはプレビュー機能です。
  • プレビュー機能は運用環境での使用を想定しておらず、機能が制限されている可能性があります。 これらの機能を公式リリースの前に使用できるようにすることで、顧客が一足先にアクセスし、そこからフィードバックを得ることができます。
  • この機能は、現在展開されており、あなたのリージョンではまだ利用できない可能性があります。
  • プレビュー中、ごみ箱で使用されるストレージは、組織のストレージ容量にカウントされません。

前提条件

この機能を使用するには、Dataverse テーブル レコードを復元する環境でこの機能を有効にする必要があります。

テーブルのレコードの復元を有効にする

  1. Power Platform 管理センター に管理者 (Dynamics 365管理者または Microsoft Power Platform 管理者) としてログインします。

  2. 環境を選択し、希望の環境を開きます。

  3. 設定>製品>機能を選択します。

  4. 下にスクロールして ごみ箱 設定を表示します。

    • ごみ箱 設定を オン にします。
    • テーブル レコードを復元できるように、時間間隔を指定します。 レコードが削除されてから最大 30 日後まで、テーブル レコード データを復元できます。

Power Apps で削除されたテーブル レコードを表示して復元する

Power Apps ユーザー エクスペリエンスで削除されたレコードを表示して操作できるのは、プレビュー フェーズのシステム管理者のみです。

  1. Power Platform 管理者センターに、システム管理者セキュリティ ロールを持つユーザーとしてサインインします。
  2. 環境を選択してから、削除されたレコードを表示して復元する環境を開きます。
  3. 設定>データ管理>削除されたレコードの表示 に移動します。
  4. すべてのテーブルから削除されたすべてのレコードを新しいタブで表示できます。
  5. 復元するレコードを 1 つ以上選択し、コマンド バーで 復元 を選択します。
  6. OKを選択して、復元するアクションを確定します。

制限

一部のレコードは復元されません

一部の組織では、削除されたレコードに関連するレコードを削除するカスタム ビジネス ロジックを追加します。 カスタム ビジネス ロジックによって削除された関連レコードを復元するには、削除された元のレコードを復元するときに、Restore 操作で逆のロジックを適用して、レコードを回復する必要があります。

テーブル リレーションシップ カスケード動作プロセスによって削除されたレコードは復元できます。 カスケード動作の詳細については、動作を伝搬するテーブルのリレーションシップを構成する を参照してください。

ごみ箱をオンにしても削除されたレコードが表示されない

ごみ箱機能がオンになっている場合でも、削除したレコードが表示されない場合があります。 組織のごみ箱を有効にする システム ジョブがオンになっていることを確認します。 Power Platform 管理センターに移動し、この問題が発生している環境を選択して、設定>監査とログ>システム ジョブを選択します。 システム ジョブ ページで、ごみ箱を有効にするを検索します。 ステータス理由成功であることを確認します。

ステータス成功していない場合、または成功状態が正しく表示されているにもかかわらず、削除されたレコードの 復元 オプションが表示されない場合は、 Microsoft サポート担当者に連絡してサポート リクエストを作成してください。

カスケード動作によって削除されたレコードは、削除されたレコード ビューに表示されません

自動化されたカスケード動作によって削除されたレコードは、個別に復元することはできません。 これらのレコードは、削除された順序で復元する必要があります。 削除された元のレコードは、自動カスケード動作によって削除された関連レコードの前に復元する必要があります。

カスケード動作の詳細については、動作を伝搬するテーブルのリレーションシップを構成する を参照してください。

テーブルはサポートされていません

ごみ箱が一般に利用可能になると、ほとんどのテーブルで有効になります。

一部のテーブルはごみ箱をサポートしません。 これらのテーブルには次のものが含まれます。

プレビュー 中、多数の列を持つ一部のテーブルは現在サポートされていません。 現在、列の最大数は400です。 正しいしきい値を決定すると、この値は高くなったり低くなったりする可能性があります。

開発者は、環境 で、 ごみ箱が有効になっているテーブルを返すクエリ を実行できます。

現在、ごみ箱ではテーブルはサポートされていません

これらのテーブルは、2024年8月時点で ごみ箱が有効になっていないテーブルを検出 する カスタマイズされていない Dataverse 環境 クエリから返されます。

環境 では結果が異なる場合があります。 多数の列を追加してカスタマイズされたテーブルはサポートされない可能性があります。

aaduser
aicopilot
aiplugin
aipluginconversationstartermapping
aipluginexternalschemaproperty
aipluginoperation
aipluginoperationresponsetemplate
annualfiscalcalendar
appaction_appactionrule_classicrules
appactionrule
appconfig
application
applicationuser
applicationuserrole
appmodulecomponent
appnotification
asyncoperation
attributeimageconfig
backgroundoperation
bot_botcomponent
bot_environmentvariabledefinition
botcomponent_aipluginoperation
botcomponent_connectionreference
botcomponent_environmentvariabledefinition
botcomponent_workflow
bulkdeletefailure
businessunit
callbackregistration
card
cardstateitem
catalogassignment
columnmapping
componentversion
componentversionnrddatasource
connectionreference
connectionroleassociation
copilotexamplequestion
copilotsynonyms
customapi
customapiresponseproperty
customcontroldefaultconfig
datalakefolder
datalakeworkspace
dataprocessingconfiguration
desktopflowbinary
displaystring
duplicaterulecondition
dvfilesearchattribute
dvtablesearch
dvtablesearchentity
entity
entitydataprovider
entityindex
entityrecordfilter
environmentvariabledefinition
eventexpanderbreadcrumb
expiredprocess
fabricaiskill
federatedknowledgeconfiguration
fieldpermission
fixedmonthlyfiscalcalendar
flowlog
flowmachinegroup
flowmachineimageversion
flowrun
goal
importentitymapping
importjob
importmap
interactionforemail
kbarticletemplate
lookupmapping
mainfewshot
managedproperty
metadataforarchival
mobileofflineprofileitem
mobileofflineprofileitemfilter
msdyn_aiconfiguration
msdyn_aitemplate
msdyn_componentlayer
msdyn_connectordatasource
msdyn_dataflow_datalakefolder
msdyn_dataflowtemplate
msdyn_dmsrequest
msdyn_entitylinkchatconfiguration
msdyn_helppage
msdyn_knowledgeassetconfiguration
msdyn_knowledgesearchfilter
msdyn_modulerundetail
msdyn_odatav4ds
msdyn_pmbusinessruleautomationconfig
msdyn_pmcalendarversion
msdyn_pmprocessextendedmetadataversion
msdyn_pmprocessusersettings
msdyn_pmrecording
msdyn_pmview
msdyn_salesforcestructuredqnaconfig
msdyn_slakpi
msdyn_solutioncomponentcountsummary
msdyn_solutioncomponentsummary
msdyn_solutionhistorydatasource
msdyn_tour
mspp_adplacement
mspp_columnpermissionprofile
mspp_entityform
mspp_entitylist
mspp_pagetemplate
mspp_powerpagescoreentityds
mspp_publishingstatetransitionrule
mspp_shortcut
mspp_sitesetting
mspp_webform
mspp_webformstep
mspp_weblinkset
mspp_webpageaccesscontrolrule
mspp_website
mspp_websitelanguage
navigationsetting
nlsqregistration
ownermapping
pluginassembly
plugintracelog
position
powerbimashupparameter
powerfxrule
powerpagecomponent_powerpagecomponent
powerpagesite_dvfilesearch
powerpageslog
principalentitymap
privilegesremovalsetting
processstage
publisher
quarterlyfiscalcalendar
queuemembership
recordfilter
recyclebinconfig
relationshipattribute
reportcategory
retaineddataexcel
ribbonmetadatatoprocess
roleeditorlayout
roletemplate
runtimedependency
savedqueryvisualization
sdkmessagefilter
sdkmessageprocessingstepimage
searchtelemetry
serviceendpoint
serviceplanappmodules
serviceplanmapping
sharepointsite
sitemap
slaitem
solution
solutioncomponentattributeconfiguration
solutioncomponentconfiguration
solutionhistorydata
subscriptionsyncentryoffline
synapselinkprofile
synapselinkschedule
systemform
systemuserauthorizationchangetracker
systemuserroles
teamprofiles
teamtemplate
tracelog
transformationparametermapping
userform
userquery
virtualentitymetadata
webwizard
workflowbinary
workflowlog
workqueueitem

activityfileattachment
aicopilot_aiplugin
aipluginconversationstarter
aipluginexternalschema
aiplugininstance
aipluginoperationparameter
aiplugintitle
appaction
appactionmigration
appactionrule_webresource_scripts
appconfiginstance
applicationroles
applicationuserprofile
appmodule
appmoduleroles
appointment
attribute
attributemaskingrule
bot
bot_botcomponentcollection
botcomponent
botcomponent_botcomponent
botcomponent_dvtablesearch
botcomponent_msdyn_aimodel
botcomponentcollection
bulkdeleteoperation
calendar
canvasapp
cardentityconnections
catalog
channelaccessprofileentityaccesslevel
complexcontrol
componentversiondatasource
connectioninstance
connectionrole
connector
copilotglossaryterm
credential
customapirequestparameter
customcontrol
customcontrolresource
datalakefolderpermission
datalakeworkspacepermission
dependency
desktopflowmodule
duplicaterule
dvfilesearch
dvfilesearchentity
dvtablesearchattribute
elasticfileattachment
entityanalyticsconfig
entityimageconfig
entitykey
entityrelationship
environmentvariablevalue
exchangesyncidmapping
exportedexcel
featurecontrolsetting
federatedknowledgeentityconfiguration
fieldsecurityprofile
flowcredentialapplication
flowmachine
flowmachineimage
flowmachinenetwork
fxexpression
import
importfile
importlog
indexattributes
invaliddependency
keyvaultreference
mailmergetemplate
managedidentity
maskingrule
mobileofflineprofile
mobileofflineprofileitemassociation
monthlyfiscalcalendar
msdyn_aimodel
msdyn_appinsightsmetadata
msdyn_componentlayerdatasource
msdyn_dataflow
msdyn_dataflowconnectionreference
msdyn_datalakeds
msdyn_dmsrequeststatus
msdyn_formmapping
msdyn_insightsstorevirtualentity
msdyn_knowledgemanagementsetting
msdyn_mobileapp
msdyn_nonrelationalds
msdyn_pmanalysishistory
msdyn_pmcalendar
msdyn_pminferredtask
msdyn_pmprocesstemplate
msdyn_pmprocessversion
msdyn_pmtemplate
msdyn_salesforcestructuredobject
msdyn_schedule
msdyn_solutioncomponentcountdatasource
msdyn_solutioncomponentdatasource
msdyn_solutionhistory
msdyn_timelinepin
msdyn_workflowactionstatus
mspp_columnpermission
mspp_contentsnippet
mspp_entityformmetadata
mspp_entitypermission
mspp_pollplacement
mspp_publishingstate
mspp_redirect
mspp_sitemarker
mspp_webfile
mspp_webformmetadata
mspp_weblink
mspp_webpage
mspp_webrole
mspp_websiteaccess
mspp_webtemplate
newprocess
optionset
picklistmapping
pluginpackage
plugintype
powerbidataset
powerbireport
powerpagecomponent
powerpagesite
powerpagesitelanguage
principalentitybusinessunitmap
privilege
processsession
processtrigger
publisheraddress
queue
recentlyused
recurringappointmentmaster
relationship
report
reportparameter
retentionconfig
role
roleprivileges
roletemplateprivileges
savedquery
sdkmessage
sdkmessageprocessingstep
searchresultscache
semiannualfiscalcalendar
serviceplan
serviceplancustomcontrol
sharedlinksetting
similarityrule
sla
slakpiinstance
solutioncomponent
solutioncomponentbatchconfiguration
solutioncomponentrelationshipconfiguration
subscriptionstatisticsoffline
synapsedatabase
synapselinkprofileentity
syncerror
systemuser
systemuserprofiles
teammobileofflineprofilemembership
teamroles
template
transformationmapping
translationprocess
usermobileofflineprofilemembership
userqueryvisualization
webresource
workflow
workflowcardconnections
workqueue

参照

コードを使用して削除されたレコードを復元する (プレビュー)