包运行为 child 但失败为 grandchild

package runs as child but fails as grandchild

我有三个包: 包 A、包 B 和包 C。 所有包的保护级别 = EncryptSensitiveWithPassword

A打电话给B,B打电话给C

如果我 运行 A 那么当 B 试图调用 C

时我会失败
0xC001405F at CheckTable: Failed to decrypt an encrypted XML node because the password was not specified or not correct. Package load will attempt to continue without the encrypted information.

但是,如果我 运行 B 那么 C 运行 就像一个魅力。这 (imo) 排除了密码不正确的可能性。

当我调用 A 调用 B 调用 C C 失败并出现 'encrypted' 错误

我在任何时候都注意到这种行为 'grandchild package'

这似乎是由保护级别引起的。当将保护级别设置为 DontSaveSensitive 时,问题就消失了。